diff options
author | Federico Ceratto <federico.ceratto@gmail.com> | 2016-03-30 21:40:42 +0000 |
---|---|---|
committer | Federico Ceratto <federico.ceratto@gmail.com> | 2016-03-30 21:40:42 +0000 |
commit | 9ce153ce7167c11adba8ac225edc7a707e97c6eb (patch) | |
tree | 9f6e849cce2dcc7e5b4e9e6252c843dc2d0787a2 /system/netdata-systemd | |
download | netdata-9ce153ce7167c11adba8ac225edc7a707e97c6eb.tar.xz netdata-9ce153ce7167c11adba8ac225edc7a707e97c6eb.zip |
Imported Upstream version 1.0.0upstream/1.0.0
Diffstat (limited to 'system/netdata-systemd')
-rw-r--r-- | system/netdata-systemd | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/system/netdata-systemd b/system/netdata-systemd new file mode 100644 index 00000000..7033cef6 --- /dev/null +++ b/system/netdata-systemd @@ -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 |