From e79878c6e02cb2ec12185bdf4911eeccab176469 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 20 Mar 2019 13:25:42 +0100 Subject: [PATCH] fix service startup test --- scripts/restore | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 4196bee..d440e01 100644 --- a/scripts/restore +++ b/scripts/restore @@ -140,7 +140,7 @@ chown -R "$app":"$app" "/var/log/$app" # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app --line_match="http://localhost:" +ynh_systemd_action --action=start --service_name=$app --line_match="http" #================================================= # END OF SCRIPT diff --git a/scripts/upgrade b/scripts/upgrade index 1ad8b02..80f5908 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -213,7 +213,7 @@ systemctl reload nginx # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app --line_match="http://localhost:" +ynh_systemd_action --action=start --service_name=$app --line_match="http" #================================================= # END OF SCRIPT