X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=system%2Fnetdata-openrc.in;h=55808364c8a5a201054b9422b141f2d124d4eace;hb=a3ae351f1e4576e5a32166ddbc28c8699ce31991;hp=f59955015f94fd5ab13b52e136c1267070c2760f;hpb=4f230f0d1980972b73acb6dd91ce00e76db01c5a;p=netdata.git diff --git a/system/netdata-openrc.in b/system/netdata-openrc.in old mode 100755 new mode 100644 index f5995501..55808364 --- a/system/netdata-openrc.in +++ b/system/netdata-openrc.in @@ -1,4 +1,4 @@ -#!/sbin/runscript +#!/sbin/openrc-run # The user netdata is configured to run as. # If you edit its configuration file to set a different @@ -25,8 +25,9 @@ extra_started_commands="getconf" pidfile="/run/netdata.pid" command="${NETDATA_INSTALL_PATH}/usr/sbin/netdata" command_background="yes" -command_args="-pidfile ${pidfile} ${NETDATA_EXTRA_ARGS}" -start_stop_daemon_args="-u ${NETDATA_OWNER}" +command_args="-P ${pidfile} ${NETDATA_EXTRA_ARGS}" +# start_stop_daemon_args="-u ${NETDATA_OWNER}" +start_stop_daemon_args="" depend() { use logger