summaryrefslogtreecommitdiffstats
path: root/system/netdata.service.in
blob: 266bc65b1c4fe732363c9eb512d6dc37be114c2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=netdata
After=network.target httpd.service squid.service nfs-server.service mysqld.service named.service postfix.service

[Service]
Type=forking
WorkingDirectory=/tmp
User=root
Group=root
PIDFile=@localstatedir_POST@/run/netdata/netdata.pid
ExecStart=@sbindir_POST@/netdata
ExecStop=/bin/kill -SIGTERM $MAINPID
TimeoutStopSec=30

[Install]
WantedBy=multi-user.target