Cleanup debuggings

This commit is contained in:
Salamandar 2024-01-28 22:49:01 +01:00
parent 6ea9601821
commit cf19fb9466
4 changed files with 4 additions and 8 deletions

View file

@ -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="pydio.gateway.websocket ready"
ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd"
#=================================================
# END OF SCRIPT

View file

@ -57,10 +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="pydio.grpc.oauth ready"
sleep 60
ynh_exec_warn journalctl -xu "$app.service"
ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd"
#=================================================
# END OF SCRIPT

View file

@ -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="pydio.gateway.websocket ready"
ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd"
ynh_systemd_action --service_name=nginx --action=reload
#=================================================

View file

@ -54,8 +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="pydio.grpc.oauth ready"
sleep 60
ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd"
ynh_exec_warn journalctl -xu "$app.service"