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:
parent
951a1bbf9c
commit
8474ebbc5f
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue