aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sh/runscript.sh.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in
index 237186ae..f953afb8 100644
--- a/sh/runscript.sh.in
+++ b/sh/runscript.sh.in
@@ -161,9 +161,9 @@ start()
stop()
{
- local startcommand="$(rc_service_get "command")"
- local startpidfile="$(rc_service_get "pidfile")"
- local startprocname="$(rc_service_get "procname")"
+ local startcommand="$(service_get_value "command")"
+ local startpidfile="$(service_get_value "pidfile")"
+ local startprocname="$(service_get_value "procname")"
command="${startcommand:-$command}"
pidfile="${startpidfile:-$pidfile}"
procname="${startprocname:-$procname}"