1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-22 07:17:05 +00:00

remove vestigal docker compatibility that prevented starting services during setup

This commit is contained in:
Joshua Tauberer 2014-06-04 20:04:26 -04:00
parent 295981828f
commit cab7321dbb

View File

@ -103,17 +103,6 @@ PUBLIC_IP=$PUBLIC_IP
CSR_COUNTRY=$CSR_COUNTRY
EOF
# For docker, we don't want any of our scripts to start daemons.
# Mask the 'service' program by defining a function of the same name
# so that whenever we try to restart a service we just silently do
# nothing.
if [ "$NO_RESTART_SERVICES" == "1" ]; then
function service {
# we could output some status, but it's not important
echo skipping service $@ > /dev/null;
}
fi
# Start service configuration.
. setup/system.sh
. setup/dns.sh