2022-04-26 15:54:25 -07:00

11 lines
237 B
Plaintext
Executable File

#!/usr/bin/with-contenv bash
# parse env vars to options
OPTIONS=""
if [[ ${FREERADIUS_DEBUG} && ${FREERADIUS_DEBUG-x} ]]; then
OPTIONS+="-X "
fi
exec \
s6-setuidgid abc /usr/sbin/radiusd -l stdout -f -d /config/raddb ${OPTIONS}