mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-04 03:33:41 +01:00
stop: Use new limits clear command
This commit is contained in:
@@ -105,9 +105,7 @@ for _jail in ${JAILS}; do
|
||||
|
||||
# Remove rctl limits
|
||||
if [ -s "${bastille_jailsdir}/${_jail}/rctl.conf" ]; then
|
||||
while read _limits; do
|
||||
rctl -r "${_limits}"
|
||||
done < "${bastille_jailsdir}/${_jail}/rctl.conf"
|
||||
bastille limits "${_jail}" clear
|
||||
fi
|
||||
|
||||
# Stop jail
|
||||
|
||||
Reference in New Issue
Block a user