remove code that stops nginx
This commit is contained in:
+1
-6
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user