summaryrefslogtreecommitdiffstats
path: root/roles/git/server/templates/git@.service
diff options
context:
space:
mode:
Diffstat (limited to 'roles/git/server/templates/git@.service')
-rw-r--r--roles/git/server/templates/git@.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/git/server/templates/git@.service b/roles/git/server/templates/git@.service
new file mode 100644
index 000000000..1209f4240
--- /dev/null
+++ b/roles/git/server/templates/git@.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Git Repositories Server Daemon
+Documentation=man:git-daemon(1)
+Wants=git.socket
+
+[Service]
+User=nobody
+ExecStart=/usr/libexec/git-core/git-daemon --base-path={{ git_basepath }} --export-all --user-path=public_git --syslog --inetd --verbose
+StandardInput=socket