From d5e0b86fc76d519e5a4795487c61d6ad2b5a8a10 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 3 Feb 2019 23:34:48 +0100 Subject: [PATCH] Fix services start 2 --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 8d7192e..bfaa851 100644 --- a/scripts/install +++ b/scripts/install @@ -335,4 +335,4 @@ systemctl reload nginx # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app --line_match="complete setup" +ynh_systemd_action --action=start --service_name=$app --line_match="Redis connection:" diff --git a/scripts/restore b/scripts/restore index d6a26ec..9541981 100644 --- a/scripts/restore +++ b/scripts/restore @@ -146,4 +146,4 @@ chown -R "$app":"$app" "/var/log/$app" # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app --line_match="Redis connection: [ OK ]" +ynh_systemd_action --action=start --service_name=$app --line_match="Redis connection:" diff --git a/scripts/upgrade b/scripts/upgrade index 98c3f87..55357b7 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -203,4 +203,4 @@ systemctl reload nginx # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app --line_match="Redis connection: [ OK ]" +ynh_systemd_action --action=start --service_name=$app --line_match="Redis connection:"