diff options
author | Roy Marples <roy@marples.name> | 2009-04-27 13:32:13 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2009-04-27 13:32:13 +0000 |
commit | 824bb3aee3940c1b0b36effaf8a8434039fdc44b (patch) | |
tree | d6284771a6b1f2b62faac487f3a64242b8beb58a /sh | |
parent | 0f70279f89b55477205725252178f1bcdc72be01 (diff) |
Allow templates to define a stop signal
Diffstat (limited to 'sh')
-rw-r--r-- | sh/runscript.sh.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in index 8ed84d89..abdaacb9 100644 --- a/sh/runscript.sh.in +++ b/sh/runscript.sh.in @@ -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" } |