Reboot the server after installation

This solves two issues:
* activate bootloader settings
* ensure the yellowtent user can view journald logs
This commit is contained in:
Johannes Zellner
2016-12-19 12:06:19 +01:00
parent b95808be54
commit 37d146a683
+6
View File
@@ -79,6 +79,8 @@ echo "##############################################"
echo " Cloudron Setup (${version}) "
echo "##############################################"
echo ""
echo "The server will reboot at the end to complete the setup."
echo ""
echo " Follow setup logs in a second terminal with:"
echo " $ tail -f ${LOG_FILE}"
echo ""
@@ -176,6 +178,10 @@ while true; do
sleep 10
done
echo ""
echo "Rebooting this server now to let bootloader changes take effect."
echo ""
echo "Visit https://my.${domain} to finish setup"
echo ""
systemctl reboot