repo2html/git-daemon.service

16 lines
324 B
SYSTEMD
Raw Normal View History

2022-12-02 16:41:55 -05:00
[Unit]
Description=Start Git Daemon
[Service]
ExecStart=/usr/bin/git daemon --base-path=/home/git/projects --export-all --reuseaddr --informative-errors --verbose
Restart=always
RestartSec=500ms
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=git-daemon
User=git
Group=git
[Install]
WantedBy=multi-user.target