commit 024b26bf0e4ff9da05adbdbe44a41a7bfac013b2
Author: Elan Ruusamäe <[email protected]>
Date: Sat Dec 24 14:57:58 2016 +0200
gitlab-ctl: make restart behave like help says it does
that means stop all services and then start all services
gitlab-ctl.sh | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gitlab-ctl.sh b/gitlab-ctl.sh
index 04b5967..4bfdb85 100755
--- a/gitlab-ctl.sh
+++ b/gitlab-ctl.sh
@@ -70,7 +70,10 @@ restart() {
local service services="gitlab-sidekiq gitlab-unicorn gitlab-workhorse"
for service in $services; do
- service $service try-restart
+ service $service stop
+ done
+ for service in $services; do
+ service $service start
done
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gitlab-ce.git/commitdiff/024b26bf0e4ff9da05adbdbe44a41a7bfac013b2
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit