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

Fix waiting for gitlab

This commit is contained in:
Kayou 2019-05-13 10:27:19 +02:00 committed by GitHub
parent 42bb7931cd
commit d1107c8ba5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -296,10 +296,14 @@ fi
#=================================================
# WAITING GITLAB
#=================================================
ynh_script_progression --message="Waiting for gitlab..." --weight=15
# Action status to just wait the service
ynh_systemd_action --action=status --service_name="gitlab-runsvdir" --log_path="/var/log/$app/unicorn/current" --line_match="adopted" --timeout=3600
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Waiting for gitlab..." --weight=15
# Action status to just wait the service
ynh_systemd_action --action=status --service_name="gitlab-runsvdir" --log_path="/var/log/$app/unicorn/current" --line_match="adopted" --timeout=3600
fi
#=================================================
# RELOAD NGINX