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:
parent
6a71395edb
commit
865f0cde0f
3 changed files with 0 additions and 15 deletions
|
@ -240,11 +240,6 @@ fi
|
||||||
ynh_script_progression --message="Reloading NGINX web server..."
|
ynh_script_progression --message="Reloading NGINX web server..."
|
||||||
|
|
||||||
ynh_systemd_action --service_name=nginx --action=reload
|
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
|
# END OF SCRIPT
|
||||||
|
|
|
@ -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_script_progression --message="Reloading NGINX web server..."
|
||||||
|
|
||||||
ynh_systemd_action --service_name=nginx --action=reload
|
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
|
# END OF SCRIPT
|
||||||
|
|
|
@ -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_script_progression --message="Reloading NGINX web server..."
|
||||||
|
|
||||||
ynh_systemd_action --service_name=nginx --action=reload
|
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
|
# END OF SCRIPT
|
||||||
|
|
Loading…
Add table
Reference in a new issue