diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-01-30 15:54:52 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-01-30 15:54:52 +0200 |
commit | 3c089f2776c699f5ee4bae92d87a550b429869e0 (patch) | |
tree | 5757da1b12b9b1b1a017aa5e19f27b39ca1d301a /system | |
parent | 987d18d6a45a946f48aa2a2806a91312b3cd17c0 (diff) |
updated systemd service
Diffstat (limited to 'system')
-rw-r--r-- | system/netdata-systemd | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/system/netdata-systemd b/system/netdata-systemd index 37defba3d1..e45d7975fc 100644 --- a/system/netdata-systemd +++ b/system/netdata-systemd @@ -4,14 +4,13 @@ After=httpd.service squid.service nfs-server.service mysqld.service named.servic [Service] Type=forking -Environment=NETDATA_INSTALL_PATH= WorkingDirectory=/tmp User=root Group=root PIDFile=/var/run/netdata/netdata.pid -ExecStart=${NETDATA_INSTALL_PATH}/usr/sbin/netdata +ExecStart=/usr/sbin/netdata ExecStop=/bin/kill -SIGTERM $MAINPID -TimeoutStopSec=15 +TimeoutStopSec=30 [Install] WantedBy=multi-user.target |