diff options
author | Lennart Weller <lhw@ring0.de> | 2017-05-24 10:33:38 +0000 |
---|---|---|
committer | Lennart Weller <lhw@ring0.de> | 2017-05-24 10:33:38 +0000 |
commit | 4cebe56b68cd9de979bf4b4b73e6ad989d0126ef (patch) | |
tree | b6f1cf8f261eb955d677e57bb0823d33fb11b00b | |
parent | HUP daemon for logrotate instead of restart (diff) | |
download | netdata-4cebe56b68cd9de979bf4b4b73e6ad989d0126ef.tar.xz netdata-4cebe56b68cd9de979bf4b4b73e6ad989d0126ef.zip |
fixed netdata for sysvinit
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | debian/netdata.init | 8 |
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 |