60s sleep for debug

This commit is contained in:
Salamandar 2024-01-28 21:04:42 +01:00
parent ae93389c26
commit 6ea9601821
2 changed files with 7 additions and 2 deletions

View file

@ -58,7 +58,9 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1
# Start a systemd service # Start a systemd service
ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="pydio.grpc.oauth ready" ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="pydio.grpc.oauth ready"
sleep 10 sleep 60
ynh_exec_warn journalctl -xu "$app.service"
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT

View file

@ -54,7 +54,10 @@ yunohost service add "$app" --description="File sharing platform"
#================================================= #=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=1 ynh_script_progression --message="Starting a systemd service..." --weight=1
ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="pydio.gateway.websocket ready" ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="pydio.grpc.oauth ready"
sleep 60
ynh_exec_warn journalctl -xu "$app.service"
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT