summaryrefslogtreecommitdiffstats
path: root/roles/git/server/templates
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2015-02-19 17:12:27 +0000
committerPatrick Uiterwijk <puiterwijk@redhat.com>2015-02-19 17:12:34 +0000
commit5810a54f27dc70fd87f60b52213463afbfe118e5 (patch)
tree39d457b4c5b653ef3c68264620c8e8d42117047a /roles/git/server/templates
parenta2c6a6fad62a63d8c3118a1ad4e4f37a5bbd41c9 (diff)
downloadansible-5810a54f27dc70fd87f60b52213463afbfe118e5.tar.gz
ansible-5810a54f27dc70fd87f60b52213463afbfe118e5.tar.xz
ansible-5810a54f27dc70fd87f60b52213463afbfe118e5.zip
Make rhel7 use git daemon, and rhel7 use xinet
Diffstat (limited to 'roles/git/server/templates')
-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