summaryrefslogtreecommitdiffstats
path: root/roles/git/files/lib/systemd/system/gitweb.service
blob: 3ba1cc815d95bd45bb9f9fcfaac39c454d1276df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Gitweb Service
After=network.target
Requires=gitweb.socket

[Service]
StandardInput=socket
User=gitweb
Group=gitweb
Environment=SCRIPT_FILENAME=/usr/lib/cgi-bin/gitweb-wrapper.fcgi
ExecStart=/usr/lib/cgi-bin/gitweb-wrapper.fcgi
Restart=on-failure

[Install]
WantedBy=multi-user.target