Move the user used by the git-daemon service to be a variable

This commit is contained in:
Pierre-Yves Chibon 2015-05-13 16:05:06 +02:00
parent ac08e100fe
commit bfd3eba918
5 changed files with 5 additions and 1 deletions

View file

@ -4,6 +4,6 @@ Documentation=man:git-daemon(1)
Wants=git.socket
[Service]
User=nobody
User={{ git_daemon_user }}
ExecStart=/usr/libexec/git-core/git-daemon --base-path={{ git_basepath }} --export-all --user-path=public_git --syslog --inetd --verbose
StandardInput=socket