From a1218cc4984596ac4094e45e172fc5dc629368b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= <felix@piedallu.me> Date: Sun, 28 Jan 2024 19:35:04 +0100 Subject: [PATCH] Fix line_match --- scripts/change_url | 2 +- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 4f5d2e5..a18765d 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -32,7 +32,7 @@ ynh_change_url_nginx_config #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=1 -ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="Index connected" +ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="pydio.gateway.websocket ready" #================================================= # END OF SCRIPT diff --git a/scripts/install b/scripts/install index b3ea073..42f53fd 100755 --- a/scripts/install +++ b/scripts/install @@ -57,7 +57,7 @@ yunohost service add "$app" --description="File sharing platform" ynh_script_progression --message="Starting a systemd service..." --weight=1 # Start a systemd service -ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="Index connected" +ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="pydio.gateway.websocket ready" #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index 4d386d9..9fcfea9 100755 --- a/scripts/restore +++ b/scripts/restore @@ -53,7 +53,7 @@ yunohost service add "$app" --description="File sharing platform" #================================================= ynh_script_progression --message="Reloading NGINX web server and $app's service..." --weight=1 -ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="Index connected" +ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="pydio.gateway.websocket ready" ynh_systemd_action --service_name=nginx --action=reload #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index b8a6ab1..9f8d5c2 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -54,7 +54,7 @@ yunohost service add "$app" --description="File sharing platform" #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=1 -ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="Index connected" +ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="pydio.gateway.websocket ready" #================================================= # END OF SCRIPT