mirror of
https://github.com/OpenRC/openrc.git
synced 2024-11-27 03:44:16 +08:00
runscript.sh: run cgroup_cleanup automatically after stop
This commit is contained in:
parent
b5cb1f5020
commit
e451d173fa
@ -302,7 +302,8 @@ while [ -n "$1" ]; do
|
||||
then
|
||||
"$1"_post || exit $?
|
||||
fi
|
||||
[ "$(command -v cgroup_cleanup)" = "cgroup_cleanup" ] && \
|
||||
[ "$(command -v cgroup_cleanup)" = "cgroup_cleanup" -a \
|
||||
"$1" = "stop" ] && \
|
||||
cgroup_cleanup
|
||||
shift
|
||||
continue 2
|
||||
|
Loading…
Reference in New Issue
Block a user