archrelease: copy trunk to community-any
[arch-community.git] / beats / trunk / metricbeat.service
blob4d766b9e32e61952e6c8ed8f82c2c2da479aa806
1 [Unit]
2 Description=Metricbeat is a lightweight shipper for metrics.
3 Documentation=https://www.elastic.co/products/beats/metricbeat
4 Wants=network-online.target
5 After=network-online.target
7 [Service]
9 Environment="BEAT_LOG_OPTS=-e"
10 Environment="BEAT_CONFIG_OPTS=-c /etc/metricbeat/metricbeat.yml"
11 Environment="BEAT_PATH_OPTS=-path.home /usr/share/metricbeat -path.config /etc/metricbeat -path.data /var/lib/metricbeat -path.logs /var/log/metricbeat"
12 ExecStart=/usr/bin/metricbeat $BEAT_LOG_OPTS $BEAT_CONFIG_OPTS $BEAT_PATH_OPTS
13 Restart=on-failure
15 [Install]
16 WantedBy=multi-user.target