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

Trying to fix package_check

This commit is contained in:
yalh76 2021-04-03 23:00:13 +02:00
parent 5d03a602ca
commit 1d6d820810
3 changed files with 6 additions and 0 deletions

View file

@ -241,6 +241,8 @@ 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

View file

@ -154,6 +154,8 @@ 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

View file

@ -257,6 +257,8 @@ 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