summaryrefslogtreecommitdiff
path: root/roles/git_server/files/git-daemon.service
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-04-21 16:34:57 +0300
committerLars Wirzenius <liw@liw.fi>2017-04-21 16:34:57 +0300
commitbc0d7897d1f4a88d5d60b9460a3fd52a3fc196bc (patch)
tree1c7c784c3dfe9277f06a43342dd117cfd204859a /roles/git_server/files/git-daemon.service
parent62f6d8f4af75970358c661528310d397d57ec8ee (diff)
downloaddebian-ansible-bc0d7897d1f4a88d5d60b9460a3fd52a3fc196bc.tar.gz
Add web_server and git_server roles
Need git_server for the new QvarnLabs git server, and the git server relies on the web server for cgit.
Diffstat (limited to 'roles/git_server/files/git-daemon.service')
-rw-r--r--roles/git_server/files/git-daemon.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/git_server/files/git-daemon.service b/roles/git_server/files/git-daemon.service
new file mode 100644
index 0000000..0b95597
--- /dev/null
+++ b/roles/git_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