From 0c75d18c44cc3b663a775f63f0feff8d694c5e1a Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 28 Dec 2019 00:11:57 +0100 Subject: [PATCH] Fix system start --- scripts/backup | 2 +- scripts/change_url | 2 +- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/backup b/scripts/backup index 39dd013..e8307c5 100644 --- a/scripts/backup +++ b/scripts/backup @@ -75,7 +75,7 @@ ynh_backup --src_path="/etc/systemd/system/$app.service" #================================================= ynh_print_info --message="Starting a systemd service..." -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="HTTP Server: [ RUNNING ]" +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="HTTP Server:" #================================================= # END OF SCRIPT diff --git a/scripts/change_url b/scripts/change_url index 5a36f18..59de0e0 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -113,7 +113,7 @@ fi #================================================= ynh_print_info --message="Starting a systemd service..." -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="HTTP Server: [ RUNNING ]" +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="HTTP Server:" #================================================= # RELOAD NGINX diff --git a/scripts/install b/scripts/install index 33c990d..9c0ce57 100644 --- a/scripts/install +++ b/scripts/install @@ -169,7 +169,7 @@ yunohost service add $app --description "$app daemon for Wiki.js" --log_type sys # START SYSTEMD SERVICE #================================================= -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="HTTP Server: [ RUNNING ]" +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="HTTP Server:" #================================================= # SETUP SSOWAT diff --git a/scripts/restore b/scripts/restore index 3835313..ce472a0 100644 --- a/scripts/restore +++ b/scripts/restore @@ -116,7 +116,7 @@ yunohost service add $app --description "$app daemon for Wiki.js" --log_type sys #================================================= ynh_print_info --message="Starting a systemd service..." -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="HTTP Server: [ RUNNING ]" +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="HTTP Server:" #================================================= # CREATE LDAP USER diff --git a/scripts/upgrade b/scripts/upgrade index dadfc92..afa2fa0 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -196,7 +196,7 @@ fi #================================================= ynh_print_info --message="Starting a systemd service..." -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="HTTP Server: [ RUNNING ]" +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="HTTP Server:" #================================================= # RELOAD NGINX