Allow templates to define a stop signal

This commit is contained in:
Roy Marples 2009-04-27 13:32:13 +00:00
parent 0f70279f89
commit 824bb3aee3

View File

@ -106,7 +106,8 @@ stop()
start-stop-daemon --stop \
${command:+--exec} $command \
${procname:+--name} $procname \
${pidfile:+--pidfile} $pidfile
${pidfile:+--pidfile} $pidfile \
${stopsig:+--signal} $stopsig
eend $? "Failed to stop $RC_SVCNAME"
}