blob: 45ac42364a6b0917d0fb820d0f58e8f16ff42ee5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
[Unit]
Description=metricbeat
Documentation=https://www.elastic.co/guide/en/beats/metricbeat/current
After=network.target
[Service]
ExecStart=/usr/bin/metricbeat -c /etc/metricbeat/metricbeat.yml \
-path.config /etc/metricbeat \
-path.home /usr/share/metricbeat \
-path.data /var/lib/metricbeat \
-path.logs /var/log/metricbeat
User=metricbeat
[Install]
WantedBy=multi-user.target
|