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:
parent
e07cef6690
commit
8533d8c8e4
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue