mirror of
https://github.com/YunoHost-Apps/gitlab_ynh.git
synced 2024-09-03 18:36:35 +02:00
Fix waiting during change url
This commit is contained in:
parent
920326ff29
commit
c491fa2172
1 changed files with 1 additions and 7 deletions
|
@ -119,18 +119,12 @@ ynh_store_file_checksum --file="$config_path/gitlab.rb"
|
|||
|
||||
gitlab-ctl reconfigure
|
||||
|
||||
if [ $change_path -eq 1 ]; then
|
||||
ynh_systemd_action --action=restart --service_name="gitlab-runsvdir"
|
||||
gitlab-ctl restart unicorn
|
||||
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
|
||||
ynh_systemd_action --action=restart --service_name="gitlab-runsvdir" --log_path="/var/log/$app/unicorn/current" --line_match="adopted" --timeout=3600
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALISATION
|
||||
|
|
Loading…
Reference in a new issue