#!/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}