diff --git a/scripts/install b/scripts/install index 0d8f61d..663c398 100755 --- a/scripts/install +++ b/scripts/install @@ -148,7 +148,9 @@ yunohost service add $app --description="Self-hosted live video and web chat ser ynh_script_progression --message="Starting a systemd service..." --weight=1 # Start a systemd service -ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" #--line_match="The web admin interface is available at /admin." +ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" + +sleep 30 #================================================= # SETUP SSOWAT diff --git a/scripts/restore b/scripts/restore index f0d0811..b3ac6d3 100755 --- a/scripts/restore +++ b/scripts/restore @@ -102,7 +102,9 @@ yunohost service add $app --description="Self-hosted live video and web chat ser #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=3 -ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="The web admin interface is available at /admin." +ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" + +sleep 30 #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index b4285b0..c256691 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -109,7 +109,8 @@ yunohost service add $app --description="Self-hosted live video and web chat ser #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=3 -ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="The web admin interface is available at /admin." +ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" +sleep 30 #================================================= # RELOAD NGINX