Date: Tuesday, May 17, 2016 @ 22:22:38
  Author: svenstaro
Revision: 175580

upgpkg: gitlab-workhorse 0.7.2-5

Add Restart=on-failure to service

Modified:
  gitlab-workhorse/trunk/PKGBUILD
  gitlab-workhorse/trunk/gitlab-workhorse.service

--------------------------+
 PKGBUILD                 |    4 ++--
 gitlab-workhorse.service |    2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-05-17 20:22:20 UTC (rev 175579)
+++ PKGBUILD    2016-05-17 20:22:38 UTC (rev 175580)
@@ -4,7 +4,7 @@
 
 pkgname=gitlab-workhorse
 pkgver=0.7.2
-pkgrel=4
+pkgrel=5
 pkgdesc="HTTP server to unload Git HTTP traffic from GitLab Rails app 
(Unicorn)"
 arch=('i686' 'x86_64')
 url="https://gitlab.com/gitlab-org/gitlab-workhorse";
@@ -14,7 +14,7 @@
 
source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/gitlab-org/gitlab-workhorse/repository/archive.tar.gz?ref=${pkgver}";
         "gitlab-workhorse.service")
 sha256sums=('d0572a901568ba5cf74776dc5cbd0ee140fdacd62c7140c9f5f7cba0dcc456e2'
-            '75574fe2e66915f7c2010e2402911f04e756b77f28743c5cea268c427d45b431')
+            '41be2c981c0869ae5c01dda7ead34c00a9a1686f204c0e033e6e1bc45f7c6b50')
 
 build() {
   cd "${pkgname}-${pkgver}-"*

Modified: gitlab-workhorse.service
===================================================================
--- gitlab-workhorse.service    2016-05-17 20:22:20 UTC (rev 175579)
+++ gitlab-workhorse.service    2016-05-17 20:22:38 UTC (rev 175580)
@@ -15,6 +15,8 @@
 ExecStart=/usr/bin/gitlab-workhorse -listenUmask 0 -authBackend 
http://localhost:8080 -authSocket /var/lib/gitlab/sockets/gitlab.socket 
-listenAddr /run/gitlab/gitlab-workhorse.socket -listenNetwork unix 
/var/lib/gitlab/repositories -documentRoot /usr/share/webapps/gitlab/public
 ExecStop=/usr/bin/kill -QUIT $MAINPID
 ExecReload=/usr/bin/kill -USR2 $MAINPID
+Restart=on-failure
+RestartSec=1
 
 [Install]
 WantedBy=multi-user.target

Reply via email to