summaryrefslogtreecommitdiffstats
path: root/roles/git/files/lib
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-06-01 00:37:30 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:54:06 +0200
commitf1d44763617f2d3e8c60e6314831da886c97139d (patch)
tree8f0b02c2b638063a99b0880065e4dabca8ef337b /roles/git/files/lib
parent6be6477f82cd469b688270e3e6ceff0bf347060c (diff)
gitweb workaround encoding issues in FCGI mode.
Diffstat (limited to 'roles/git/files/lib')
-rw-r--r--roles/git/files/lib/systemd/system/gitweb.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/git/files/lib/systemd/system/gitweb.service b/roles/git/files/lib/systemd/system/gitweb.service
index a0f7a96..05821ce 100644
--- a/roles/git/files/lib/systemd/system/gitweb.service
+++ b/roles/git/files/lib/systemd/system/gitweb.service
@@ -7,7 +7,8 @@ Requires=gitweb.socket
StandardInput=socket
User=gitweb
Group=gitweb
-ExecStart=/usr/lib/cgi-bin/gitweb.fcgi
+Environment=SCRIPT_FILENAME=/usr/lib/cgi-bin/gitweb-wrapper.fcgi
+ExecStart=/usr/lib/cgi-bin/gitweb-wrapper.fcgi
[Install]
WantedBy=multi-user.target