Commit cab7321d authored by Joshua Tauberer's avatar Joshua Tauberer

remove vestigal docker compatibility that prevented starting services during setup

parent 29598182
...@@ -103,17 +103,6 @@ PUBLIC_IP=$PUBLIC_IP ...@@ -103,17 +103,6 @@ PUBLIC_IP=$PUBLIC_IP
CSR_COUNTRY=$CSR_COUNTRY CSR_COUNTRY=$CSR_COUNTRY
EOF 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. # Start service configuration.
. setup/system.sh . setup/system.sh
. setup/dns.sh . setup/dns.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment