diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-07-20 04:49:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-07-20 04:49:55 +0000 |
commit | ab1bb5b7f1c3c3a7b240ab7fc8661459ecd7decb (patch) | |
tree | 7a900833aad3ccc685712c6c2a7d87576d54f427 /system/runit/run.in | |
parent | Adding upstream version 1.40.1. (diff) | |
download | netdata-ab1bb5b7f1c3c3a7b240ab7fc8661459ecd7decb.tar.xz netdata-ab1bb5b7f1c3c3a7b240ab7fc8661459ecd7decb.zip |
Adding upstream version 1.41.0.upstream/1.41.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | system/runit/run.in | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/system/runit/run.in b/system/runit/run.in index 4ea783cc6..d7f39fb69 100644 --- a/system/runit/run.in +++ b/system/runit/run.in @@ -3,14 +3,10 @@ piddir="@localstatedir_POST@/run/netdata/netdata.pid" pidfile="${piddir}/netdata.pid" -cachedir="@localstatedir_POST@/cache/netdata" - command="@sbindir_POST@/netdata" command_args="-P ${pidfile} -D" [ ! -d "${piddir}" ] && mkdir -p "${piddir}" -[ ! -d "${cachedir}" ] && mkdir -p "${cachedir}" chown -R @netdata_user_POST@ "${piddir}" -chown -R @netdata_user_POST@ "${cachedir}" exec ${command} ${command_args} |