mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-01 10:20:55 +01:00
support listing current defined container resource limits
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
. /usr/local/etc/bastille/bastille.conf
|
||||
|
||||
usage() {
|
||||
echo -e "${COLOR_RED}Usage: bastille list [-j] [release|template|(jail|container)|log].${COLOR_RESET}"
|
||||
echo -e "${COLOR_RED}Usage: bastille list [-j] [release|template|(jail|container)|log|limit].${COLOR_RESET}"
|
||||
exit 1
|
||||
}
|
||||
|
||||
@@ -77,6 +77,9 @@ if [ $# -gt 0 ]; then
|
||||
log|logs)
|
||||
find "${bastille_logsdir}" -type f -maxdepth 1
|
||||
;;
|
||||
limit|limits)
|
||||
rctl -h jail:
|
||||
;;
|
||||
*)
|
||||
usage
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user