This commit is contained in:
William Hubbs 2013-01-15 12:36:12 -06:00
parent 6b3a4110cc
commit cb31b13276

View File

@ -161,9 +161,9 @@ start()
stop() stop()
{ {
local startcommand="$(rc_service_get "command")" local startcommand="$(service_get_value "command")"
local startpidfile="$(rc_service_get "pidfile")" local startpidfile="$(service_get_value "pidfile")"
local startprocname="$(rc_service_get "procname")" local startprocname="$(service_get_value "procname")"
command="${startcommand:-$command}" command="${startcommand:-$command}"
pidfile="${startpidfile:-$pidfile}" pidfile="${startpidfile:-$pidfile}"
procname="${startprocname:-$procname}" procname="${startprocname:-$procname}"