diff options
-rw-r--r-- | conf.d/killprocs | 5 | ||||
-rw-r--r-- | init.d/killprocs.in | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/conf.d/killprocs b/conf.d/killprocs index 0cf10d0d..76a2bc9c 100644 --- a/conf.d/killprocs +++ b/conf.d/killprocs @@ -1,3 +1,6 @@ -# If you wish to pass any options to killall5 during shutdown, +# If you wish to pass any options to kill_all during shutdown, # you should do so here. +# +# The setting is called killall5_opts because the options here are meant +# to be identical to those you could pass to killall5. killall5_opts="" diff --git a/init.d/killprocs.in b/init.d/killprocs.in index d1409c51..fcf1364d 100644 --- a/init.d/killprocs.in +++ b/init.d/killprocs.in @@ -19,9 +19,9 @@ depend() start() { ebegin "Terminating remaining processes" - killall5 -15 ${killall5_opts} + kill_all 15 ${killall5_opts} eend 0 ebegin "Killing remaining processes" - killall5 -9 ${killall5_opts} + kill_all 9 ${killall5_opts} eend 0 } |