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