FreeBSD Bugzilla – Bug 148337
devel/git rc.d script issue (git_daemon)
Last modified: 2010-07-04 19:51:51 UTC
When you install devel/git if you enable git_daemon from rc.conf and reboot your machine, what happens is that a git_daemon process is started but it is not serving any incoming connections. Nothing is going to the logs as well.
If you run the script manually from /usr/local/etc/rc.d/git_daemon everything is working fine - serving incoming connections and logs everything.
NOTE: This is only not working when using the Git protocol, i.e when you do a:
$ git clone git://git.example.com/repo.git
Using SSH for transport is working fine.
Haven't tested this if you are using some of the other transport protocols like HTTP or rsync.
How-To-Repeat: 1. Install devel/git
2. Add to your rc.conf
# Enable git-daemon
git_daemon_flags="--verbose --syslog --base-path=<git-repos-path> --detach --reuseaddr"
Over to maintainer (via the GNATS Auto Assign Tool)
Sorry for the delay on this and thanks for opening a PR to remind me. I
just committed a fix for this. :)