summarylogtreecommitdiffstats
path: root/packetbeat.service
blob: 234c04ca4ff5b8cabb45ad4af423645441ec1f98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=packetbeat
Documentation=https://www.elastic.co/guide/en/beats/packetbeat/current
After=network.target

[Service]
ExecStart=/usr/bin/packetbeat -c /etc/packetbeat/packetbeat.yml \
                              -path.config /etc/packetbeat \
                              -path.home /usr/share/packetbeat \
                              -path.data /var/lib/packetbeat \
                              -path.logs /var/log/packetbeat

[Install]
WantedBy=multi-user.target