mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
more details on restart nginx error
This commit is contained in:
parent
2a12947e51
commit
e57c3d9685
@ -327,7 +327,7 @@ done
|
||||
# let nginx showing gradido
|
||||
log_step 'Configuring nginx to serve gradido again'
|
||||
ln -sf $SCRIPT_DIR/nginx/sites-available/gradido.conf $SCRIPT_DIR/nginx/sites-enabled/default
|
||||
sudo /etc/init.d/nginx restart
|
||||
sudo /etc/init.d/nginx restart || log_error "Failed to restart nginx $(sudo nginx -t)"
|
||||
|
||||
# keep the update log
|
||||
cat $UPDATE_HTML >> $GRADIDO_LOG_PATH/update.$TODAY.log
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user