aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sh/rc-cgroup.sh.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/sh/rc-cgroup.sh.in b/sh/rc-cgroup.sh.in
index 4b713594..3c7558cd 100644
--- a/sh/rc-cgroup.sh.in
+++ b/sh/rc-cgroup.sh.in
@@ -204,13 +204,13 @@ cgroup_cleanup()
local pids
pids="$(cgroup_get_pids)"
if [ -n "${pids}" ]; then
- kill -s "${stopsig:-SIGTERM}" ${pids} 2> /dev/null
- kill -s SIGCONT ${pids} 2> /dev/null
+ kill -s "${stopsig:-TERM}" ${pids} 2> /dev/null
+ kill -s CONT ${pids} 2> /dev/null
yesno "${rc_send_sighup:-no}" &&
- kill -s SIGHUP ${pids} 2> /dev/null
+ kill -s HUP ${pids} 2> /dev/null
sleep "${rc_timeout_stopsec:-90}"
yesno "${rc_send_sigkill:-yes}" &&
- kill -s SIGKILL ${pids} 2> /dev/null
+ kill -s KILL ${pids} 2> /dev/null
fi
eend 0
}