From 4cebe56b68cd9de979bf4b4b73e6ad989d0126ef Mon Sep 17 00:00:00 2001 From: Lennart Weller Date: Wed, 24 May 2017 12:33:38 +0200 Subject: fixed netdata for sysvinit --- debian/changelog | 7 +++++++ debian/netdata.init | 8 +------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/debian/changelog b/debian/changelog index 8e3842934..daeba4d79 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 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 70f36c875..332ff40b2 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 -- cgit v1.2.3