]> arthur.barton.de Git - netdata.git/blob - system/netdata.service.in
e828707ab6c185a0bfe45f238dac85be3836bb1d
[netdata.git] / system / netdata.service.in
1 [Unit]
2 Description=netdata
3 After=network.target httpd.service squid.service nfs-server.service mysqld.service named.service postfix.service
4
5 [Service]
6 Type=forking
7 WorkingDirectory=/tmp
8 User=root
9 Group=root
10 PIDFile=@localstatedir_POST@/run/netdata/netdata.pid
11 ExecStart=@sbindir_POST@/netdata -pidfile $PIDFile
12 ExecStop=/bin/kill -SIGTERM $MAINPID
13 TimeoutStopSec=30
14
15 [Install]
16 WantedBy=multi-user.target