1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/funkwhale_ynh.git synced 2024-09-03 18:36:24 +02:00

remove sleep

This commit is contained in:
yalh76 2021-04-06 01:07:09 +02:00
parent 6a71395edb
commit 865f0cde0f
3 changed files with 0 additions and 15 deletions

View file

@ -240,11 +240,6 @@ fi
ynh_script_progression --message="Reloading NGINX web server..."
ynh_systemd_action --service_name=nginx --action=reload
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
ynh_systemd_action --service_name="${app}-server" --action="restart" --log_path="systemd" --line_match="Application startup complete"
ynh_script_progression --message="PACKAGE_CHECK_EXEC sleep 60s..."
sleep 60
fi
#=================================================
# END OF SCRIPT

View file

@ -153,11 +153,6 @@ ynh_systemd_action --service_name="${app}-worker" --action="start" --log_path="s
ynh_script_progression --message="Reloading NGINX web server..."
ynh_systemd_action --service_name=nginx --action=reload
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
ynh_systemd_action --service_name="${app}-server" --action="restart" --log_path="systemd" --line_match="Application startup complete"
ynh_script_progression --message="PACKAGE_CHECK_EXEC sleep 60s..."
sleep 60
fi
#=================================================
# END OF SCRIPT

View file

@ -256,11 +256,6 @@ ynh_add_fail2ban_config --logpath="/var/log/nginx/$domain-access.log" --failrege
ynh_script_progression --message="Reloading NGINX web server..."
ynh_systemd_action --service_name=nginx --action=reload
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
ynh_systemd_action --service_name="${app}-server" --action="restart" --log_path="systemd" --line_match="Application startup complete"
ynh_script_progression --message="PACKAGE_CHECK_EXEC sleep 60s..."
sleep 60
fi
#=================================================
# END OF SCRIPT