diff --git a/scripts/change_url b/scripts/change_url index ba15483..49fd205 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -46,7 +46,6 @@ ynh_script_progression --message="Starting a systemd service..." --weight=3 # Start a systemd service ynh_systemd_action --service_name="uwsgi-app@$app.service" --action="restart" --line_match="WSGI app 0 \(mountpoint='[/[:alnum:]_-]*'\) ready in [[:digit:]]* seconds on interpreter" --log_path="/var/log/uwsgi/$app/$app.log" -sleep 10 #================================================= # END OF SCRIPT diff --git a/scripts/install b/scripts/install index 89bf222..229b1f9 100644 --- a/scripts/install +++ b/scripts/install @@ -76,7 +76,6 @@ chown -R "$app:root" /var/log/pgadmin ynh_script_progression --message="Starting a systemd service..." --weight=3 ynh_systemd_action --service_name "uwsgi-app@$app.service" --action="restart" --line_match "WSGI app 0 \(mountpoint='[/[:alnum:]_-]*'\) ready in [[:digit:]]* seconds on interpreter" --log_path "/var/log/uwsgi/$app/$app.log" -sleep 10 #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index 69b6cfa..36b8025 100644 --- a/scripts/restore +++ b/scripts/restore @@ -67,7 +67,6 @@ ynh_restore_uwsgi_service ynh_script_progression --message="Reloading NGINX web server and $app's service..." --weight=1 ynh_systemd_action --service_name "uwsgi-app@$app.service" --action="restart" --line_match "WSGI app 0 \(mountpoint='[/[:alnum:]_-]*'\) ready in [[:digit:]]* seconds on interpreter" --log_path "/var/log/uwsgi/$app/$app.log" -sleep 10 ynh_systemd_action --service_name=nginx --action=reload diff --git a/scripts/upgrade b/scripts/upgrade index 52614a6..3641d36 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -87,7 +87,6 @@ chown -R "$app:root" /var/log/pgadmin ynh_script_progression --message="Starting a systemd service..." --weight=3 ynh_systemd_action --service_name "uwsgi-app@$app.service" --action="restart" --line_match "WSGI app 0 \(mountpoint='[/[:alnum:]_-]*'\) ready in [[:digit:]]* seconds on interpreter" --log_path "/var/log/uwsgi/$app/$app.log" -sleep 10 #================================================= # END OF SCRIPT