summaryrefslogtreecommitdiffstats
path: root/roles/git/files/lib/systemd/system/gitweb.service
diff options
context:
space:
mode:
Diffstat (limited to 'roles/git/files/lib/systemd/system/gitweb.service')
-rw-r--r--roles/git/files/lib/systemd/system/gitweb.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/git/files/lib/systemd/system/gitweb.service b/roles/git/files/lib/systemd/system/gitweb.service
new file mode 100644
index 0000000..a0f7a96
--- /dev/null
+++ b/roles/git/files/lib/systemd/system/gitweb.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Gitweb Service
+After=network.target
+Requires=gitweb.socket
+
+[Service]
+StandardInput=socket
+User=gitweb
+Group=gitweb
+ExecStart=/usr/lib/cgi-bin/gitweb.fcgi
+
+[Install]
+WantedBy=multi-user.target