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