X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fsv%2Fgit-daemon%2Frun;h=07ff0a30f1da6d7b37c133df1e51920151ac5fb3;hb=635db1c6e281208364a2858593cd94ae0718e3a0;hp=3af0062a0b2592ec8edf64652efdcc54e1243baf;hpb=b7595a000cae850e0702938336ce116376bc7d67;p=lhc%2Fateliers.git diff --git a/etc/sv/git-daemon/run b/etc/sv/git-daemon/run index 3af0062..07ff0a3 100755 --- a/etc/sv/git-daemon/run +++ b/etc/sv/git-daemon/run @@ -2,13 +2,11 @@ exec 2>&1 sv=${PWD#/etc/sv/} eval "home=~$sv" + exec /usr/bin/chpst \ -u "$sv":"$sv":git-data \ /usr/lib/git-core/git-daemon \ - --base-path="$home" \ - --interpolated-path=/home/git/srv/%H%D \ + --interpolated-path="$home"/%H%D \ --reuseaddr \ --user-path=pub/git \ - --verbose \ - -- \ - "$home" + --verbose