[packages/gitlab-ce] gitlab-ctl: cleanup duplicate restart

glen glen at pld-linux.org
Tue Apr 18 23:16:55 CEST 2017


commit af3270663e281963563d818c3bd3e4581d8081a8
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Apr 18 23:03:36 2017 +0300

    gitlab-ctl: cleanup duplicate restart

 gitlab-ctl.sh | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/gitlab-ctl.sh b/gitlab-ctl.sh
index 2856e89..9462a2f 100755
--- a/gitlab-ctl.sh
+++ b/gitlab-ctl.sh
@@ -25,11 +25,6 @@ backup() {
 	gitlab-rake gitlab:backup:create "$@"
 }
 
-# http://docs.gitlab.com/ce/administration/restart_gitlab.html#installations-from-source
-restart() {
-	:
-}
-
 # Run backup before package upgrade
 # https://gitlab.com/gitlab-org/omnibus-gitlab/blob/8.17.5+ce.0/config/templates/package-scripts/preinst.erb#L10
 preinst() {
@@ -67,6 +62,7 @@ posttrans() {
 	EOF
 }
 
+# http://docs.gitlab.com/ce/administration/restart_gitlab.html#installations-from-source
 restart() {
 	local service services="gitlab-sidekiq gitlab-unicorn gitlab-workhorse"
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gitlab-ce.git/commitdiff/6be9c2e13479b0b2b2eb6d9978011b6941cd5757



More information about the pld-cvs-commit mailing list