X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=system%2Fnetdata.service.in;h=e260e2738038e7396df07bcb601a26772e86d815;hb=74a6727974953d40db73d2e78630de08c49bfc19;hp=bc26cc9dcc83aec3df4adcf5e062af9f098cde3f;hpb=9a0e33868bbd6ec37d3fe8d923ab98268710d25a;p=netdata.git diff --git a/system/netdata.service.in b/system/netdata.service.in index bc26cc9d..e260e273 100644 --- a/system/netdata.service.in +++ b/system/netdata.service.in @@ -1,16 +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 -ExecStop=/bin/kill -SIGTERM $MAINPID -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