summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog7
-rw-r--r--debian/netdata.init8
2 files changed, 8 insertions, 7 deletions
diff --git a/debian/changelog b/debian/changelog
index 8e384293..daeba4d7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+netdata (1.6.0+dfsg-2) UNRELEASED; urgency=medium
+
+ * Change logrotate to only re-open logfiles
+ * Change pidfile to existing location for sysvinit (Closes: #861713)
+
+ -- Lennart Weller <lhw@ring0.de> Wed, 24 May 2017 12:23:48 +0200
+
netdata (1.6.0+dfsg-1) unstable; urgency=medium
[ Federico Ceratto ]
diff --git a/debian/netdata.init b/debian/netdata.init
index 70f36c87..332ff40b 100644
--- a/debian/netdata.init
+++ b/debian/netdata.init
@@ -32,15 +32,9 @@ DAEMON_ARGS=""
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DESC="the netdata daemon"
-PIDFILE=/var/run/netdata/netdata.pid
-DEFAULTSFILE=/etc/default/$NAME
+PIDFILE=/var/run/netdata.pid
CONF_FNAME=/etc/netdata/netdata.conf
-# Include defaults if available
-if [ -r $DEFAULTSFILE ] ; then
- . $DEFAULTSFILE
-fi
-
case "$1" in
start)
if [ ! -f "$CONF_FNAME" ]; then