From 2bb60520ca71db5464c56cf2c8e1bc48f3424cde Mon Sep 17 00:00:00 2001 From: Praveen Arimbrathodiyil Date: Sat, 13 Feb 2016 18:17:07 +0530 Subject: [PATCH] use /var for gitlab-workhorse too --- debian/conf/gitlab-workhorse.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/conf/gitlab-workhorse.service b/debian/conf/gitlab-workhorse.service index a5f07aab11..c9ca3d96e7 100644 --- a/debian/conf/gitlab-workhorse.service +++ b/debian/conf/gitlab-workhorse.service @@ -19,9 +19,9 @@ User=gitlab WorkingDirectory=/usr/share/gitlab EnvironmentFile=/etc/gitlab/gitlab-debian.conf SyslogIdentifier=gitlab-workhorse -PIDFile=/usr/share/gitlab/tmp/pids/gitlab-workhorse.pid +PIDFile=/var/log/gitlab/pids/gitlab-workhorse.pid -ExecStart=/usr/share/gitlab/bin/daemon_with_pidfile /usr/share/gitlab/tmp/pids/gitlab-workhorse.pid gitlab-workhorse -listenUmask 0 -listenNetwork unix -listenAddr /usr/share/gitlab/tmp/sockets/gitlab-workhorse.socket -authBackend http://127.0.0.1:8080 -authSocket /usr/share/gitlab/tmp/sockets/gitlab.socket -documentRoot /usr/share/gitlab/public >> /usr/share/gitlab/log/gitlab-workhorse.log 2>&1 +ExecStart=/usr/share/gitlab/bin/daemon_with_pidfile /var/log/gitlab/pids/gitlab-workhorse.pid gitlab-workhorse -listenUmask 0 -listenNetwork unix -listenAddr /var/log/gitlab/sockets/gitlab-workhorse.socket -authBackend http://127.0.0.1:8080 -authSocket /var/log/gitlab/sockets/gitlab.socket -documentRoot /usr/share/gitlab/public >>/var/log/gitlab/gitlab-workhorse.log 2>&1 [Install] WantedBy=multi-user.target