From f4917a67b44b0b1a9c7f8dbf09316a1c38c05092 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 3 Feb 2019 12:26:00 +0100 Subject: [PATCH] manage upgrade and restore --- scripts/restore | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 35a175a..d6a26ec 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 +ynh_systemd_action --action=start --service_name=$app --line_match="Redis connection: [ OK ]" diff --git a/scripts/upgrade b/scripts/upgrade index bef38e1..98c3f87 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -203,4 +203,4 @@ systemctl reload nginx # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app +ynh_systemd_action --action=start --service_name=$app --line_match="Redis connection: [ OK ]"