openrc/sh
William Hubbs 2b0345165e Make cgroup_cleanup send only one sigterm and sigkill
Instead of looping and sending multiple signals to child processes in
cgroup_cleanup, we send sigterm followed by sleeping one second then
sigkill.

This brings us more in line with systemd's "control group" killmode
setting.

Also, this commit includes several shellcheck cleanups.
2017-09-14 10:55:06 -05:00
..
.gitignore split tmpfiles processing into opentmpfiles 2016-12-01 12:04:54 -06:00
binfmt.sh.in binfmt.sh: use read in raw mode 2016-02-19 15:25:53 -06:00
cgroup-release-agent.sh.in Convert OpenRC to a centralized copyright/license structure 2015-12-21 12:16:06 -06:00
functions.sh.in Convert OpenRC to a centralized copyright/license structure 2015-12-21 12:16:06 -06:00
gendepends.sh.in sh/gendepends.sh.in: fix detection of service scripts 2017-03-23 13:17:11 -05:00
init-early.sh.Linux.in Convert OpenRC to a centralized copyright/license structure 2015-12-21 12:16:06 -06:00
init.sh.BSD.in sh/init.sh: fix the test for cache restoration 2016-09-12 12:58:31 -05:00
init.sh.GNU-kFreeBSD.in sh/init.sh: fix the test for cache restoration 2016-09-12 12:58:31 -05:00
init.sh.GNU.in sh/init.sh: fix the test for cache restoration 2016-09-12 12:58:31 -05:00
init.sh.Linux.in sh/init.sh.Linux.in: remove unused check for Gnu/KFreeBSD 2016-12-18 11:53:12 -06:00
Makefile split tmpfiles processing into opentmpfiles 2016-12-01 12:04:54 -06:00
migrate-to-run.sh.in Convert OpenRC to a centralized copyright/license structure 2015-12-21 12:16:06 -06:00
openrc-run.sh.in Make cgroup_cleanup send only one sigterm and sigkill 2017-09-14 10:55:06 -05:00
rc-cgroup.sh.in Make cgroup_cleanup send only one sigterm and sigkill 2017-09-14 10:55:06 -05:00
rc-functions.sh.in sh/rc-functions.sh.in: add get_bootparam_value function 2017-02-23 18:16:15 -06:00
rc-mount.sh Convert OpenRC to a centralized copyright/license structure 2015-12-21 12:16:06 -06:00
runit.sh Make use of name vs RC_SVCNAME consistent in supervisor scripts 2016-09-13 12:52:10 -05:00
runtests.sh Convert OpenRC to a centralized copyright/license structure 2015-12-21 12:16:06 -06:00
s6.sh Make use of name vs RC_SVCNAME consistent in supervisor scripts 2016-09-13 12:52:10 -05:00
start-stop-daemon.sh Revert "Remove eval calls from supervisor start functions" 2016-09-20 11:33:56 -05:00
supervise-daemon.sh add retry option to supervise-daemon 2017-09-06 17:22:21 -05:00