Displaying 1 result from an estimated 1 matches for "asterisk_opts".
2005 Aug 05
1
starting asterisk with nice -5
...9"
fi
fi
if [[ -n "${ASTERISK_USER}" ]]; then
USER=${ASTERISK_USER/:*/}
GROUP=$(echo $ASTERISK_USER | awk -F: '/.*:.*/ { print
$2 }')
if [[ -n "${USER}" ]]; then
ASTERISK_OPTS="${ASTERISK_OPTS} -U ${USER}"
fi
if [[ -n "${GROUP}" ]]; then
ASTERISK_OPTS="${ASTERISK_OPTS} -G ${GROUP}"
GROUP=":${GROUP}" # make it look nice...
fi...