From b27c501196d3509c3ffab5cc7a08184b5bad8252 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 3 Apr 2019 06:45:25 +0200 Subject: [PATCH] fix service start --- scripts/backup | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/backup b/scripts/backup index 2afeee9..a384c49 100644 --- a/scripts/backup +++ b/scripts/backup @@ -83,7 +83,7 @@ ynh_backup "/etc/systemd/system/$app.service" #================================================= ynh_print_info "Start $app service..." -ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="Server listening on localhost:9000" +ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="Server listening on localhost" #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index 5ae1b92..90d1b3c 100644 --- a/scripts/restore +++ b/scripts/restore @@ -146,7 +146,7 @@ systemctl reload nginx #================================================= ynh_print_info "Start $app service..." -ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="Server listening on localhost:9000" +ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="Server listening on localhost" #================================================= # END OF SCRIPT diff --git a/scripts/upgrade b/scripts/upgrade index 7f00c41..62913a4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -227,7 +227,7 @@ systemctl reload nginx #================================================= ynh_print_info "Start $app service..." -ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="Server listening on localhost:9000" +ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="Server listening on localhost" #================================================= # END OF SCRIPT