From 8474ebbc5ffcea3be401c86fc47414ae5fd3f646 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20Bourr=C3=A9?= Date: Sun, 12 May 2019 19:35:29 +0200 Subject: [PATCH] use more ynh_systemd_action --- scripts/change_url | 2 +- scripts/remove | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 690d226..ee8e540 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -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 diff --git a/scripts/remove b/scripts/remove index 73044ac..b43da57 100644 --- a/scripts/remove +++ b/scripts/remove @@ -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