]> arthur.barton.de Git - netdata.git/blobdiff - system/netdata-openrc.in
Merge remote-tracking branch 'firehol/master'
[netdata.git] / system / netdata-openrc.in
old mode 100755 (executable)
new mode 100644 (file)
index 299db56..5580836
@@ -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,7 +25,7 @@ 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}"
+command_args="-P ${pidfile} ${NETDATA_EXTRA_ARGS}"
 # start_stop_daemon_args="-u ${NETDATA_OWNER}"
 start_stop_daemon_args=""