diff options
Diffstat (limited to 'system/netdata-init-d.in')
-rw-r--r-- | system/netdata-init-d.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/netdata-init-d.in b/system/netdata-init-d.in index 9ac510196..c0257ffab 100644 --- a/system/netdata-init-d.in +++ b/system/netdata-init-d.in @@ -27,6 +27,7 @@ service_start() { [ -x $DAEMON_PATH ] || exit 5 [ ! -d $PIDFILE_PATH ] && mkdir -p $PIDFILE_PATH + chown @netdata_user_POST@:@netdata_user_POST@ $PIDFILE_PATH echo -n "Starting $DAEMON..." daemon $DAEMON_PATH/$DAEMON $DAEMONOPTS RETVAL=$? |