support listing current defined container resource limits

This commit is contained in:
Christer Edwards
2020-01-26 11:48:21 -07:00
parent 02d0e94ef6
commit 27393f8db4

View File

@@ -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
;;