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()
{
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}"