diff options
-rw-r--r-- | debian/netdata.init | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/netdata.init b/debian/netdata.init index 39f7858f..3c233580 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) |