#!/bin/sh
exec 2>&1
echo 'git-daemon starting.'
exec chpst -ugit:git \
  "$(git --exec-path)"/git-daemon --verbose --base-path=/home/git/repositories /home/git/repositories