Compare commits
2 Commits
0.37
...
openrc-0.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a530722f65 | ||
|
|
661e9cf002 |
@@ -1,3 +1,3 @@
|
|||||||
NAME= openrc
|
NAME= openrc
|
||||||
VERSION= 0.12
|
VERSION= 0.12.1
|
||||||
PKG= ${NAME}-${VERSION}
|
PKG= ${NAME}-${VERSION}
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ cgroup_set_limits()
|
|||||||
|
|
||||||
cgroup_cleanup()
|
cgroup_cleanup()
|
||||||
{
|
{
|
||||||
yesno "${rc_cgroup_cleanup:-no}" && cgroup_running || return 0
|
cgroup_running || return 0
|
||||||
ebegin "starting cgroups cleanup"
|
ebegin "starting cgroups cleanup"
|
||||||
for sig in TERM QUIT INT; do
|
for sig in TERM QUIT INT; do
|
||||||
cgroup_get_pids || { eend 0 "finished" ; return 0 ; }
|
cgroup_get_pids || { eend 0 "finished" ; return 0 ; }
|
||||||
|
|||||||
@@ -308,6 +308,7 @@ while [ -n "$1" ]; do
|
|||||||
fi
|
fi
|
||||||
[ "$(command -v cgroup_cleanup)" = "cgroup_cleanup" -a \
|
[ "$(command -v cgroup_cleanup)" = "cgroup_cleanup" -a \
|
||||||
"$1" = "stop" ] && \
|
"$1" = "stop" ] && \
|
||||||
|
yesno "${rc_cgroup_cleanup}" && \
|
||||||
cgroup_cleanup
|
cgroup_cleanup
|
||||||
shift
|
shift
|
||||||
continue 2
|
continue 2
|
||||||
|
|||||||
Reference in New Issue
Block a user