[packages/gitlab-ce] no systemctl try-start here (systemd-units-221-11.x86_64)

glen glen at pld-linux.org
Sat Apr 23 12:12:55 CEST 2016


commit 037664ba7197afe1a0fb5618242e9e2e59d5ebd4
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Apr 23 13:12:40 2016 +0300

    no systemctl try-start here (systemd-units-221-11.x86_64)

 gitlab-ce.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gitlab-ce.spec b/gitlab-ce.spec
index 327a401..5bbd33d 100644
--- a/gitlab-ce.spec
+++ b/gitlab-ce.spec
@@ -17,7 +17,7 @@
 Summary:	A Web interface to create projects and repositories, manage access and do code reviews
 Name:		gitlab-ce
 Version:	8.6.7
-Release:	0.8
+Release:	0.9
 License:	MIT
 Group:		Applications/WWW
 # md5 deliberately omitted until this package is useful
@@ -190,8 +190,8 @@ if [ $1 -eq 1 ]; then
 	echo "Then run 'sudo -u gitlab bundle exec rake gitlab:setup RAILS_ENV=production'"
 	echo
 else
-	systemctl -q try-restart gitlab-unicorn
-	systemctl -q try-start gitlab-sidekiq
+	systemctl -q try-restart gitlab-unicorn || :
+	systemctl -q try-start gitlab-sidekiq || :
 fi
 
 %postun
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gitlab-ce.git/commitdiff/037664ba7197afe1a0fb5618242e9e2e59d5ebd4



More information about the pld-cvs-commit mailing list