The paths don't change often, but if they do this is one less place which will need to be updated. It also makes it easier for anyone rebuilding the packages to change the defaults.
9 lines
248 B
SYSTEMD
9 lines
248 B
SYSTEMD
[Unit]
|
|
Description=Git Repositories Server Daemon
|
|
Documentation=man:git-daemon(1)
|
|
|
|
[Service]
|
|
User=nobody
|
|
ExecStart=-@GITEXECDIR@/git-daemon --base-path=@BASE_PATH@ --export-all --user-path=public_git --syslog --inetd --verbose
|
|
StandardInput=socket
|