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

check after restart

This commit is contained in:
Kayou 2019-06-05 00:33:32 +02:00 committed by GitHub
parent e07cef6690
commit 8533d8c8e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -143,8 +143,6 @@ gitlab-ctl stop sidekiq
# Doc: https://docs.gitlab.com/ce/raketasks/backup_restore.html#restore-for-omnibus-gitlab-installations
ynh_exec_warn_less gitlab-rake gitlab:backup:restore force=yes BACKUP=$last_backup
gitlab-rake gitlab:check SANITIZE=true
#=================================================
# GENERIC FINALIZATION
#=================================================
@ -160,6 +158,12 @@ ynh_script_progression --message="Waiting for gitlab..." --weight=14
ynh_systemd_action --action=restart --service_name="gitlab-runsvdir" --log_path="/var/log/$app/unicorn/current" --line_match="adopted" --timeout=3600
#=================================================
# CHECK THE RESTORED DATA
#=================================================
gitlab-rake gitlab:check SANITIZE=true
#=================================================
# RELOAD NGINX
#=================================================