From 27393f8db4e253dc3ec1e8bfacba700668811419 Mon Sep 17 00:00:00 2001 From: Christer Edwards Date: Sun, 26 Jan 2020 11:48:21 -0700 Subject: [PATCH] support listing current defined container resource limits --- usr/local/share/bastille/list.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr/local/share/bastille/list.sh b/usr/local/share/bastille/list.sh index cb2cc471..42218a0f 100644 --- a/usr/local/share/bastille/list.sh +++ b/usr/local/share/bastille/list.sh @@ -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 ;;