diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-10-01 12:13:12 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-10-01 12:13:12 +0300 |
commit | b70c4ca06b0794244a72cce3fd4b77c5e83418f7 (patch) | |
tree | 1f922abffb7c95d9f88e901a6410ab27d34810d6 /system | |
parent | 714ed145493daf78847907328b44d78779347ff9 (diff) |
pid file in /var/run; https://github.com/firehol/netdata/pull/403#issuecomment-250894031
Diffstat (limited to 'system')
-rw-r--r-- | system/netdata-lsb.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/netdata-lsb.in b/system/netdata-lsb.in index d81659775b..3bbde1a490 100644 --- a/system/netdata-lsb.in +++ b/system/netdata-lsb.in @@ -19,7 +19,7 @@ ${DEBIAN_SCRIPT_DEBUG:+ set -v -x} DAEMON="netdata" DAEMON_PATH=@sbindir_POST@ -PIDFILE=@localstatedir_POST@/$DAEMON.pid +PIDFILE=@localstatedir_POST@/run/$DAEMON.pid DAEMONOPTS="-P $PIDFILE" test -x $DAEMON_PATH/$DAEMON || exit 0 |