diff options
Diffstat (limited to 'system/netdata.service.in')
-rw-r--r-- | system/netdata.service.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/system/netdata.service.in b/system/netdata.service.in new file mode 100644 index 00000000..bc26cc9d --- /dev/null +++ b/system/netdata.service.in @@ -0,0 +1,16 @@ +[Unit] +Description=Linux real time system monitoring, over the web +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 + +[Install] +WantedBy=multi-user.target |