mirror of
https://github.com/YunoHost-Apps/pydio_ynh.git
synced 2024-09-03 20:16:05 +02:00
60s sleep for debug
This commit is contained in:
parent
ae93389c26
commit
6ea9601821
2 changed files with 7 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue