From 00b5db98ae61e692cff446363fb03ceb93ab3cfa Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 7 Aug 2021 09:40:18 +0200 Subject: [PATCH] Fix --- scripts/install | 4 +++- scripts/restore | 4 +++- scripts/upgrade | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) 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