Blame SOURCES/httpd-scl-wrapper

33b929
#!/bin/sh
33b929
33b929
# We have to re-enable SCL environment, because /sbin/service
33b929
# clears almost all environment variables.
33b929
# Since X_SCLS is cleared as well, we lose information about other
33b929
# collections enabled.
33b929
. /opt/rh/httpd24/service-environment
33b929
for sclname in $HTTPD24_HTTPD_SCLS_ENABLED ; do
33b929
    . /opt/rh/$sclname/enable
33b929
    export X_SCLS="$X_SCLS $sclname"
33b929
done
33b929
33b929
exec /opt/rh/httpd24/root/usr/sbin/httpd "$@"