]> arthur.barton.de Git - netdata.git/blob - system/netdata.service.in
Merge pull request #132 from mcnewton/debianpkg
[netdata.git] / system / netdata.service.in
1 [Unit]
2 Description=Linux real time system monitoring, over the web
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.pid
11 ExecStart=@sbindir_POST@/netdata -pidfile @localstatedir_POST@/run/netdata.pid
12 ExecStop=/bin/kill -SIGTERM $MAINPID
13 TimeoutStopSec=30
14
15 [Install]
16 WantedBy=multi-user.target