From 11ba09c729e039256827b69873ca5d37889e83e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Fri, 15 Mar 2024 23:41:16 +0100 Subject: [PATCH] Cleanup start line_match --- scripts/change_url | 2 +- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index c5036c3..8ea339d 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -48,7 +48,7 @@ ynh_script_progression --message="Starting a systemd service..." for service in "${services[@]}"; do ynh_systemd_action --service_name="${app}_${service}" --action="start" --log_path="systemd" --line_match="ready" done -ynh_systemd_action --service_name="uwsgi-app@$app.service" --action="start" --log_path="systemd" --line_match="Started" +ynh_systemd_action --service_name="uwsgi-app@$app.service" --action="start" --log_path="systemd" #================================================= # END OF SCRIPT diff --git a/scripts/install b/scripts/install index bc27fb2..f6c493d 100755 --- a/scripts/install +++ b/scripts/install @@ -98,7 +98,7 @@ for service in "${services[@]}"; do ynh_systemd_action --service_name="${app}_${service}" --action="start" --log_path="systemd" --line_match="ready" done -ynh_systemd_action --service_name="uwsgi-app@$app.service" --action="start" --log_path="systemd" --line_match="Started" +ynh_systemd_action --service_name="uwsgi-app@$app.service" --action="start" --log_path="systemd" #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index 1a2d453..f74c8d9 100644 --- a/scripts/restore +++ b/scripts/restore @@ -65,7 +65,7 @@ for service in "${services[@]}"; do ynh_systemd_action --service_name="${app}_${service}" --action="start" --log_path="systemd" --line_match="ready" done -ynh_systemd_action --service_name="uwsgi-app@$app.service" --action="start" --log_path="systemd" --line_match="Started" +ynh_systemd_action --service_name="uwsgi-app@$app.service" --action="start" --log_path="systemd" ynh_systemd_action --service_name=nginx --action=reload diff --git a/scripts/upgrade b/scripts/upgrade index 64d14ed..8018c00 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -98,7 +98,7 @@ for service in "${services[@]}"; do ynh_systemd_action --service_name="${app}_${service}" --action="start" --log_path="systemd" --line_match="ready" done -ynh_systemd_action --service_name="uwsgi-app@$app.service" --action="start" --log_path="systemd" --line_match="Started" +ynh_systemd_action --service_name="uwsgi-app@$app.service" --action="start" --log_path="systemd" #================================================= # END OF SCRIPT