summaryrefslogtreecommitdiffstats
path: root/system/netdata-lsb.in
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-11-30 18:47:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-11-30 18:47:05 +0000
commit97e01009d69b8fbebfebf68f51e3d126d0ed43fc (patch)
tree02e8b836c3a9d89806f3e67d4a5fe9f52dbb0061 /system/netdata-lsb.in
parentReleasing debian version 1.36.1-1. (diff)
downloadnetdata-97e01009d69b8fbebfebf68f51e3d126d0ed43fc.tar.xz
netdata-97e01009d69b8fbebfebf68f51e3d126d0ed43fc.zip
Merging upstream version 1.37.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'system/netdata-lsb.in')
-rw-r--r--system/netdata-lsb.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/netdata-lsb.in b/system/netdata-lsb.in
index ca197a520..e429ad1c9 100644
--- a/system/netdata-lsb.in
+++ b/system/netdata-lsb.in
@@ -45,6 +45,8 @@ service_start() {
mkdir -p $PIDFILE_PATH
fi
+ chown @netdata_user_POST@:@netdata_user_POST@ $PIDFILE_PATH
+
log_daemon_msg "Starting real-time performance monitoring" "netdata"
start_daemon -p $PIDFILE $DAEMON_PATH/$DAEMON $DAEMONOPTS
RETVAL=$?