summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/netdata.init5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/netdata.init b/debian/netdata.init
index 39f7858ff..3c2335800 100644
--- a/debian/netdata.init
+++ b/debian/netdata.init
@@ -34,6 +34,11 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin
DESC="the netdata daemon"
PIDFILE=/var/run/netdata/netdata.pid
DEFAULTSFILE=/etc/default/$NAME
+CONF_FNAME=/etc/netdata/netdata.conf
+
+# Include defaults if available
+if [ -r $DEFAULTSFILE ] ; then
+ . $DEFAULTSFILE
case "$1" in
start)