Merge pull request #107 from cedwards/list_update

support listing currently enabled container resource limits
This commit is contained in:
Christer Edwards
2020-01-26 11:49:44 -07:00
committed by GitHub

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