summaryrefslogtreecommitdiffstats
path: root/debian/git-daemon/run
blob: b86552663aa622ad92f19684df46a1ccafeaa23d (plain)
1
2
3
4
5
6
#!/bin/sh
exec 2>&1
echo 'git-daemon starting.'
exec chpst -ugitdaemon \
  "$(git --exec-path)"/git-daemon --verbose --reuseaddr \
    --base-path=/var/lib /var/lib/git