commit b56340361cbe9c2b798806f67de1af2081c22880
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Apr 18 23:03:53 2017 +0300

    gitlab-ctl: allow restart to take params for service names

 gitlab-ctl.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gitlab-ctl.sh b/gitlab-ctl.sh
index 9462a2f..ad54c18 100755
--- a/gitlab-ctl.sh
+++ b/gitlab-ctl.sh
@@ -64,7 +64,7 @@ posttrans() {
 
 # 
http://docs.gitlab.com/ce/administration/restart_gitlab.html#installations-from-source
 restart() {
-       local service services="gitlab-sidekiq gitlab-unicorn gitlab-workhorse"
+       local service services=${@-"gitlab-sidekiq gitlab-unicorn 
gitlab-workhorse"}
 
        for service in $services; do
                service $service stop
================================================================

---- gitweb:

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to