blob: 7033cef67a8336899d9ce7d1ba44e28968064bb5 (
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=/var/run/netdata/netdata.pid
ExecStart=/usr/sbin/netdata
ExecStop=/bin/kill -SIGTERM $MAINPID
TimeoutStopSec=30
[Install]
WantedBy=multi-user.target
|