summaryrefslogtreecommitdiff
path: root/roles/gitano_server/files/git-daemon.service
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-04-24 12:57:57 +0300
committerLars Wirzenius <liw@liw.fi>2017-04-24 12:57:57 +0300
commit8d7be2a4659f20af0386048b2444f6d0adc59c41 (patch)
treed5e8664ad20a66054529f680b661f64851b060c3 /roles/gitano_server/files/git-daemon.service
parentbc0d7897d1f4a88d5d60b9460a3fd52a3fc196bc (diff)
downloaddebian-ansible-8d7be2a4659f20af0386048b2444f6d0adc59c41.tar.gz
Rename roles to be more specific
Suggested by Ivan Dolgov.
Diffstat (limited to 'roles/gitano_server/files/git-daemon.service')
-rw-r--r--roles/gitano_server/files/git-daemon.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/gitano_server/files/git-daemon.service b/roles/gitano_server/files/git-daemon.service
new file mode 100644
index 0000000..0b95597
--- /dev/null
+++ b/roles/gitano_server/files/git-daemon.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Git Daemon
+Documentation=man:git-daemon(1)
+
+[Service]
+User=nobody
+Group=nogroup
+ExecStart=-/usr/lib/git-core/git-daemon --inetd --base-path=/home/git/repos --verbose
+StandardInput=socket
+StandardOutput=inherit
+StandardError=journal