summaryrefslogtreecommitdiffstats
path: root/roles/git/files/etc/systemd/system/cgit.socket
diff options
context:
space:
mode:
Diffstat (limited to 'roles/git/files/etc/systemd/system/cgit.socket')
-rw-r--r--roles/git/files/etc/systemd/system/cgit.socket11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/git/files/etc/systemd/system/cgit.socket b/roles/git/files/etc/systemd/system/cgit.socket
new file mode 100644
index 0000000..bba4bef
--- /dev/null
+++ b/roles/git/files/etc/systemd/system/cgit.socket
@@ -0,0 +1,11 @@
+[Unit]
+Description=hyperfast web frontend for git repositories written in C
+Documentation=https://git.zx2c4.com/cgit/
+
+[Socket]
+ListenStream=%t/cgit.socket
+SocketUser=www-data
+SocketMode=0600
+
+[Install]
+WantedBy=sockets.target