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

use more ynh_systemd_action

This commit is contained in:
Pierre Bourré 2019-05-12 19:35:29 +02:00
parent 951a1bbf9c
commit 8474ebbc5f
2 changed files with 2 additions and 2 deletions

View file

@ -120,7 +120,7 @@ ynh_store_file_checksum --file="$config_path/gitlab.rb"
gitlab-ctl reconfigure
if [ $change_path -eq 1 ]; then
gitlab-ctl restart
ynh_systemd_action --action=restart --service_name="gitlab-runsvdir"
gitlab-ctl restart unicorn
fi

View file

@ -39,7 +39,7 @@ fi
#=================================================
ynh_script_progression --message="Stopping gitlab" --weight=8
gitlab-ctl stop
ynh_systemd_action --action=stop --service_name="gitlab-runsvdir"
#=================================================
# REMOVE GITLAB