git-daemon-sysvinit: advertise GIT_DAEMON_BASE_PATH in /etc/default/git-daemon
commit0335adedb88db01c9be4d9293860bfd386ded9a1
authorJonathan Nieder <jrnieder@gmail.com>
Sun, 11 Aug 2013 19:03:28 +0000 (11 12:03 -0700)
committerJonathan Nieder <jrnieder@gmail.com>
Fri, 22 Nov 2013 20:29:52 +0000 (22 12:29 -0800)
tree100e5a11843bad4e744df4c2a55e8a3e34d09c1b
parentbd69ac80bb3e9dbc44b941f2d148a67f4dade474
git-daemon-sysvinit: advertise GIT_DAEMON_BASE_PATH in /etc/default/git-daemon

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.

Add GIT_DAEMON_BASE_PATH to the default /etc/default/git-daemon so
people customizing know to change it.

Reported-by: Alexander Dahl <post@lespocky.de>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Acked-by: Daniel Baumann <daniel.baumann@progress-technologies.net>
debian/changelog
debian/git-daemon.default