> Am 29.05.2016 um 22:45 schrieb Stuart Henderson <s...@spacehopper.org>: > >> On 2016/05/29 20:16, Joerg Jung wrote: >> Hi, >> >> similar to svnserve from yesterday, please find below a diff which adds >> a git daemon rc.d script and _gitdaemon user to devel/git. >> >> Comments, OKs? >> >> Regards, >> Joerg > > I think it wants an rc_reload=NO in the rc script.
Yes I'll add. > Otherwise it looks > fairly similar to my local rc.d script for this so with that added I'm > ok with it - I'll continue to use my own script though because > I certainly want to use chroot(8) for this :) chroot how exactly, I guess via $daemon or $rcexec? I think a daemon_chroot in rc.subr would be nice to simplify this. Isn't using --base-path and --strict-path options not enough in this specific case? Stumbled over this patch, but it seems never committed: http://www.gelato.unsw.edu.au/archives/git/0509/9000.html