Lines 83-88
Link Here
|
83 |
[ -z "${_flags}" ] && _flags="-l -U root" |
83 |
[ -z "${_flags}" ] && _flags="-l -U root" |
84 |
eval _consolelog=\"\${jail_${_j}_consolelog:-${jail_consolelog}}\" |
84 |
eval _consolelog=\"\${jail_${_j}_consolelog:-${jail_consolelog}}\" |
85 |
[ -z "${_consolelog}" ] && _consolelog="/var/log/jail_${_j}_console.log" |
85 |
[ -z "${_consolelog}" ] && _consolelog="/var/log/jail_${_j}_console.log" |
|
|
86 |
eval _nice=\"\${jail_${_j}_nice:-${jail_nice}}\" |
86 |
|
87 |
|
87 |
# Debugging aid |
88 |
# Debugging aid |
88 |
# |
89 |
# |
Lines 117-122
Link Here
|
117 |
debug "$_j exec stop: $_exec_stop" |
118 |
debug "$_j exec stop: $_exec_stop" |
118 |
debug "$_j flags: $_flags" |
119 |
debug "$_j flags: $_flags" |
119 |
debug "$_j consolelog: $_consolelog" |
120 |
debug "$_j consolelog: $_consolelog" |
|
|
121 |
debug "$_j nice: $_nice" |
120 |
|
122 |
|
121 |
if [ -z "${_hostname}" ]; then |
123 |
if [ -z "${_hostname}" ]; then |
122 |
err 3 "$name: No hostname has been defined for ${_j}" |
124 |
err 3 "$name: No hostname has been defined for ${_j}" |
Lines 350-356
Link Here
|
350 |
fi |
352 |
fi |
351 |
fi |
353 |
fi |
352 |
_tmp_jail=${_tmp_dir}/jail.$$ |
354 |
_tmp_jail=${_tmp_dir}/jail.$$ |
353 |
eval jail ${_flags} -i ${_rootdir} ${_hostname} \ |
355 |
|
|
|
356 |
if [ -z "${_nice}" ]; then |
357 |
_nice_cmd="" |
358 |
else |
359 |
_nice_cmd="nice -n ${_nice}" |
360 |
fi |
361 |
|
362 |
eval ${_nice_cmd} jail ${_flags} -i ${_rootdir} ${_hostname} \ |
354 |
${_ip} ${_exec_start} > ${_tmp_jail} 2>&1 |
363 |
${_ip} ${_exec_start} > ${_tmp_jail} 2>&1 |
355 |
|
364 |
|
356 |
if [ "$?" -eq 0 ] ; then |
365 |
if [ "$?" -eq 0 ] ; then |