14 lines
245 B
Django/Jinja
14 lines
245 B
Django/Jinja
[Unit]
|
|
Description=Start Git Daemon
|
|
|
|
[Service]
|
|
ExecStart=/usr/bin/git daemon --reuseaddr --export-all --base-path={{ repo_dir }}
|
|
|
|
Restart=always
|
|
RestartSec=500ms
|
|
|
|
SyslogIdentifier=git-daemon
|
|
DynamicUser=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|