Last active
April 4, 2016 19:52
-
-
Save agustik/a35e5d25b3488311cbf196a3a64f10e9 to your computer and use it in GitHub Desktop.
Netdata Systemd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment