sudo apt-get install git-daemon-run
sudo runsvdir /etc/service &
sudo vi /etc/sv/git-daemon/run
I changed the exec line to look like this:
exec git-daemon --verbose --base-path=/var/git
chpst -ugitosis
sudo /etc/init.d/git-daemon-run start
===== Make repo public =====
sudo -u gitosis touch leopytools.git/git-daemon-export-ok