aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2013-01-15 12:36:12 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2013-01-15 12:36:12 -0600
commitcb31b132767db0d67941e4de022f2a21deb3ca74 (patch)
tree48e89a5125e5c3e729072e4443531cf8ab30172d
parent6b3a4110cc0ff21631ad601d994f4c72fb5219c2 (diff)
typo fix
-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}"