1 2 3 4 5 6 7 8 9 10 11
[Unit] Description=Git Daemon Instance After=network.target [Service] User=git # The '-' is to ignore non-zero exit statuses ExecStart=-/usr/lib/git-core/git-daemon --inetd --export-all --base-path=/srv/git StandardInput=socket StandardOutput=inherit StandardError=journal