summaryrefslogtreecommitdiff
path: root/roles/gitolite/http/templates/fcgiwrap.service.j2
blob: a36d2a7e4df336ef3ca12d8d7668550a31f8599f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Simple CGI Server
After=nss-user-lookup.target
Requires=fcgiwrap-gitolite-{{ item.0.key }}.socket

[Service]
ExecStart=/usr/sbin/fcgiwrap -f
User={{ item.0.value.user | default('git-' + item.0.key) }}
Group={{ item.0.value.user | default('git-' + item.0.key) }}

[Install]
Also=fcgiwrap-gitolite-{{ item.0.key }}.socket