16 lines
324 B
SYSTEMD
16 lines
324 B
SYSTEMD
|
[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
|