diff --git a/scripts/change_url b/scripts/change_url index c39af3e..199ed90 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -44,7 +44,7 @@ ynh_add_uwsgi_service 'pgadmin_user python_version' # Reload services ynh_script_progression --message="Reloading services..." sudo systemctl reload nginx.service -ynh_systemd_action --service_name "uwsgi-app@$app.service" \ +ynh_systemd_action --service_name "uwsgi-app@$app.service" --action restart \ --line_match "WSGI app 0 (mountpoint='$path_url') ready in [[:digit:]]* seconds on interpreter" --log_path "/var/log/uwsgi/$app/pgadmin.log" ynh_script_progression --message="Change of URL completed for $app" --time --last