summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2017-10-03 14:56:53 -0400
committerCraig Andrews <candrews@integralblue.com>2017-10-03 19:49:03 -0400
commitb6d80fb3a3ae60077cbbc1e8dd0d01e1eb3ff67d (patch)
tree3aa7c0fa337ca57ee9b27208a65f0c438d56f156 /system
parent3f4db620484e777265a7e5f0cfe10ba840f7eefd (diff)
Fix the path to the netdata executable in the openrc script
Fixes #2826
Diffstat (limited to 'system')
-rw-r--r--system/netdata-openrc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/netdata-openrc.in b/system/netdata-openrc.in
index 5c4eafa57c..512d482781 100644
--- a/system/netdata-openrc.in
+++ b/system/netdata-openrc.in
@@ -23,7 +23,7 @@
extra_started_commands="getconf"
pidfile="/run/netdata.pid"
-command="${NETDATA_INSTALL_PATH}/usr/sbin/netdata"
+command="@sbindir_POST@/netdata"
command_background="yes"
command_args="-P ${pidfile} ${NETDATA_EXTRA_ARGS}"
# start_stop_daemon_args="-u ${NETDATA_OWNER}"