From 4c3db1ed7df72d550a3241d9963f2ef336186e82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sun, 9 Jun 2019 21:25:58 +0200 Subject: [PATCH] Restart service at end of change-url script --- scripts/change_url | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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