diff --git a/usr/local/share/bastille/limits.sh b/usr/local/share/bastille/limits.sh index e841b9e7..4e038bc2 100644 --- a/usr/local/share/bastille/limits.sh +++ b/usr/local/share/bastille/limits.sh @@ -121,7 +121,7 @@ add_cpuset() { local _cpuset_rule="$(echo ${_cpus} | sed 's/ /,/g')" # Persist cpuset value - echo "${_cpuset_rule}" > "${bastille_jailsdir}/${_jail}/cpuset.conf" + echo "${_cpuset_rule}" >> "${bastille_jailsdir}/${_jail}/cpuset.conf" echo -e "Limits: ${OPTION} ${VALUE}" # Restart jail to apply cpuset