# /etc/systemd/system/git-daemon.service # # See systemd.service(5) for more information. [Unit] Description=Git Daemon [Service] ExecStart=/usr/bin/git daemon --reuseaddr --export-all --base-path=/pub/git --user-path=git Restart=on-failure StandardOutput=syslog StandardError=syslog SyslogIdentifier=git-daemon User=git Group=git [Install] WantedBy=multi-user.target