remove code that stops nginx

This commit is contained in:
Girish Ramakrishnan
2016-10-24 14:41:26 -07:00
parent 37185b1058
commit c8a04f8707
2 changed files with 1 additions and 7 deletions
+1 -6
View File
@@ -228,12 +228,7 @@ systemctl start cloudron.target
sleep 2 # give systemd sometime to start the processes
set_progress "85" "Reloading nginx"
if systemctl is-enabled nginx; then
nginx -s reload
else
systemctl enable nginx
systemctl start nginx
fi
nginx -s reload
set_progress "100" "Done"