diff options
Diffstat (limited to 'system/netdata.service.in')
-rw-r--r-- | system/netdata.service.in | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/system/netdata.service.in b/system/netdata.service.in index 91db6122..e260e273 100644 --- a/system/netdata.service.in +++ b/system/netdata.service.in @@ -1,17 +1,15 @@ [Unit] -Description=Linux real time system monitoring, over the web +Description=Real time performance monitoring 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=@localstatedir_POST@/run/netdata.pid -ExecStart=@sbindir_POST@/netdata -pidfile @localstatedir_POST@/run/netdata.pid -KillMode=mixed -KillSignal=SIGTERM -TimeoutStopSec=30 +Type=simple +User=netdata +Group=netdata +ExecStart=@sbindir_POST@/netdata -D + +# saving a big db on slow disks may need some time +TimeoutStopSec=60 [Install] WantedBy=multi-user.target |