summaryrefslogtreecommitdiff
path: root/sh/runscript.sh.in
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 /sh/runscript.sh.in
parent6b3a4110cc0ff21631ad601d994f4c72fb5219c2 (diff)
downloadopenrc-cb31b132767db0d67941e4de022f2a21deb3ca74.tar.gz
openrc-cb31b132767db0d67941e4de022f2a21deb3ca74.tar.bz2
openrc-cb31b132767db0d67941e4de022f2a21deb3ca74.tar.xz
typo fix
Diffstat (limited to 'sh/runscript.sh.in')
-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 237186a..f953afb 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}"