tags 704985 + patch
owner 704985 Daniel Baumann <daniel.baum...@progress-technologies.net>
quit

Hi,

Alexander Dahl wrote:

> when changing GIT_DAEMON_DIRECTORY in the /etc/default/git-daemon
> coming with the package to e.g. /srv/repos/git the git-daemon is still
> called with --base-path=/var/cache because GIT_DAEMON_BASE_PATH has
> the default value from /etc/init.d/git-daemon but is not included in
> /etc/default/git-daemon which leads to a path not found error. I could
> fix this by adding GIT_DAEMON_BASE_PATH='/srv/repos' to my
> /etc/default/git-daemon so I guess it would be nice to deliver a
> better template or default /etc/default/git-daemon containg
> GIT_DAEMON_BASE_PATH or improve /usr/share/doc/git-daemon/README*

Good idea.  How about this patch?

Thanks and sorry for the slow reply,
Jonathan

diff --git i/debian/changelog w/debian/changelog
index b68ea590..a1c5a12c 100644
--- i/debian/changelog
+++ w/debian/changelog
@@ -1,3 +1,10 @@
+git (1:1.8.4~rc2-1.1) experimental; urgency=low
+
+  * git-daemon-sysvinit: advertise GIT_DAEMON_BASE_PATH in
+    /etc/default/git-daemon (thx Alexander Dahl; closes: #704985).
+
+ -- Jonathan Nieder <jrnie...@gmail.com>  Sun, 11 Aug 2013 11:59:57 -0700
+
 git (1:1.8.4~rc2-1) unstable; urgency=low
 
   * new upstream release candidate.
diff --git i/debian/git-daemon.default w/debian/git-daemon.default
index fd62168c..356bb3d2 100644
--- i/debian/git-daemon.default
+++ w/debian/git-daemon.default
@@ -8,6 +8,7 @@
 
 GIT_DAEMON_ENABLE=false
 GIT_DAEMON_USER=gitdaemon
+GIT_DAEMON_BASE_PATH=/var/lib
 GIT_DAEMON_DIRECTORY=/var/lib/git
 
 # Additional options that are passed to the Daemon.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to