summaryrefslogtreecommitdiffstats
path: root/contrib/debian/netdata.service
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--contrib/debian/netdata.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/debian/netdata.service b/contrib/debian/netdata.service
new file mode 100644
index 0000000..e5d3a38
--- /dev/null
+++ b/contrib/debian/netdata.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=netdata real-time system monitoring
+After=network.target
+
+[Service]
+Type=simple
+EnvironmentFile=-/etc/default/netdata
+ExecStart=/usr/sbin/netdata -D $EXTRA_OPTS
+TimeoutStopSec=30
+Restart=always
+RestartSec=5
+
+[Install]
+WantedBy=multi-user.target