From f1d44763617f2d3e8c60e6314831da886c97139d Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 1 Jun 2015 00:37:30 +0200 Subject: gitweb workaround encoding issues in FCGI mode. --- roles/git/files/lib/systemd/system/gitweb.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'roles/git/files/lib') 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 -- cgit v1.2.3