From f07488ee5d3aa3f7c1e35f6ae48a41dea21a26fc Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Tue, 3 Jun 2025 11:08:41 -0600 Subject: [PATCH] Update limits.sh --- usr/local/share/bastille/limits.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/local/share/bastille/limits.sh b/usr/local/share/bastille/limits.sh index 74b9c63d..472f3ef6 100644 --- a/usr/local/share/bastille/limits.sh +++ b/usr/local/share/bastille/limits.sh @@ -130,7 +130,7 @@ add_cpuset() { # Persist cpuset value echo "${_cpuset_rule}" >> "${bastille_jailsdir}/${_jail}/cpuset.conf" - echo -e "Limits: ${OPTION} ${VALUE}" + echo -e "[CPU LIMITS]: ${OPTION} ${VALUE}" # Restart jail to apply cpuset bastille restart ${_jail} @@ -183,7 +183,7 @@ for _jail in ${JAILS}; do fi if [ "${OPT_LOG}" -eq 1 ]; then echo -e "[LOGGING]: ${OPTION} ${VALUE}" - rctl -a "${_rctl_rule} ${_rctl_rule_log}" + rctl -a "${_rctl_rule}" "${_rctl_rule_log}" else echo -e "${OPTION} ${VALUE}" rctl -a "${_rctl_rule}"