Restart the droplet after installation for good measure

This is then in sync with selfhosting and ensures the init startup
sequence is in order, since the setup on its own creates unit files
which should run prior to services already running.

This hopefully fixes the mysql disconnect issues.
This commit is contained in:
Johannes Zellner
2017-02-02 11:23:12 -08:00
parent 6951383ae0
commit 651af185c8

View File

@@ -242,6 +242,4 @@ else
echo -e "Visit https://<IP> to finish setup once the server has rebooted.\n"
fi
if [[ "${initBaseImage}" == "true" ]]; then
systemctl reboot
fi
systemctl reboot