archrelease: copy trunk to community-any
[arch-community.git] / beats / trunk / filebeat.service
blob080ecc8398f2e8003dad3ad5b58162f7770513d9
1 [Unit]
2 Description=Filebeat sends log files to Logstash or directly to Elasticsearch.
3 Documentation=https://www.elastic.co/products/beats/filebeat
4 Wants=network-online.target
5 After=network-online.target
7 [Service]
8 Environment="BEAT_LOG_OPTS=-e"
9 Environment="BEAT_CONFIG_OPTS=-c /etc/filebeat/filebeat.yml"
10 Environment="BEAT_PATH_OPTS=-path.home /usr/share/filebeat -path.config /etc/filebeat -path.data /var/lib/filebeat -path.logs /var/log/filebeat"
11 ExecStart=/usr/bin/filebeat $BEAT_LOG_OPTS $BEAT_CONFIG_OPTS $BEAT_PATH_OPTS
12 Restart=on-failure
14 [Install]
15 WantedBy=multi-user.target