1 2 3 4 5 6 7 8 9 10
[Unit] Description=Git Daemon Instance [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