support listing current defined container resource limits
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
. /usr/local/etc/bastille/bastille.conf
|
. /usr/local/etc/bastille/bastille.conf
|
||||||
|
|
||||||
usage() {
|
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
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -77,6 +77,9 @@ if [ $# -gt 0 ]; then
|
|||||||
log|logs)
|
log|logs)
|
||||||
find "${bastille_logsdir}" -type f -maxdepth 1
|
find "${bastille_logsdir}" -type f -maxdepth 1
|
||||||
;;
|
;;
|
||||||
|
limit|limits)
|
||||||
|
rctl -h jail:
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
usage
|
usage
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user