From 7e2a1bdcc2c4f0c19f497bce02a4a2627dba4957 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 1 Jul 2024 17:14:47 +0200 Subject: [PATCH] Fix line_match --- 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 2cb85ca..1b6fb56 100755 --- a/scripts/install +++ b/scripts/install @@ -71,7 +71,7 @@ chown -R _biboumi:_biboumi "/var/log/$app" ynh_script_progression --message="Starting $app's systemd service..." --weight=1 # Start a systemd service -ynh_systemd_action --service_name="$app" --action="start" --line_match="Started Biboumi" --log_path="systemd" +ynh_systemd_action --service_name="$app" --action="start" --line_match="Authenticated with the XMPP server" --log_path="/var/log/$app/$app.log" #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index 05733ac..11a6d26 100755 --- a/scripts/restore +++ b/scripts/restore @@ -56,7 +56,7 @@ chown -R _biboumi:_biboumi "/var/log/$app" #================================================= ynh_script_progression --message="Reloading NGINX web server and $app's service..." --weight=1 -ynh_systemd_action --service_name="$app" --action="start" --line_match="Started Biboumi" --log_path="systemd" +ynh_systemd_action --service_name="$app" --action="start" --line_match="Authenticated with the XMPP server" --log_path="/var/log/$app/$app.log" #================================================= # END OF SCRIPT diff --git a/scripts/upgrade b/scripts/upgrade index 3113718..2e9d5fa 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -55,7 +55,7 @@ chown -R _biboumi:_biboumi "/var/log/$app" #================================================= ynh_script_progression --message="Starting $app's systemd service..." --weight=1 -ynh_systemd_action --service_name="$app" --action="start" --line_match="Started Biboumi" --log_path="systemd" +ynh_systemd_action --service_name="$app" --action="start" --line_match="Authenticated with the XMPP server" --log_path="/var/log/$app/$app.log" #================================================= # END OF SCRIPT