]> git.pld-linux.org Git - packages/netdata.git/blobdiff - netdata.service
add initscripts
[packages/netdata.git] / netdata.service
diff --git a/netdata.service b/netdata.service
new file mode 100644 (file)
index 0000000..7033cef
--- /dev/null
@@ -0,0 +1,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
This page took 0.039612 seconds and 4 git commands to generate.