[packages/gitlab-workhorse] use /var/run/gitlab directly for pid path

glen glen at pld-linux.org
Mon Sep 5 23:08:38 CEST 2016


commit dd378d826709f40e12e5c2f28ac1be10b819fd4f
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Sep 6 00:08:31 2016 +0300

    use /var/run/gitlab directly for pid path

 gitlab-workhorse.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gitlab-workhorse.init b/gitlab-workhorse.init
index a5cb868..ab23db2 100755
--- a/gitlab-workhorse.init
+++ b/gitlab-workhorse.init
@@ -30,7 +30,7 @@ USER=git
 APP_PATH=/usr/lib/gitlab
 
 # The PID and LOCK files
-pidfile=$APP_PATH/tmp/pids/gitlab-workhorse.pid
+pidfile=/var/run/gitlab/gitlab-workhorse.pid
 lockfile=/var/lock/subsys/gitlab-workhorse
 
 # Get service config - may override defaults
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gitlab-workhorse.git/commitdiff/dd378d826709f40e12e5c2f28ac1be10b819fd4f



More information about the pld-cvs-commit mailing list