blob: f973370ac0bfa7060d2e19912a523304f7757d91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
[Unit]
Description=Git HTTP backend
Documentation=man:git-http-backend(1)
[Service]
DynamicUser=yes
SupplementaryGroups=gitolite
ExecStart=/usr/sbin/fcgiwrap
SyslogIdentifier=git-http-backend
#
# Hardening
NoNewPrivileges=yes
PrivateDevices=yes
ProtectHome=yes
ProtectSystem=strict
ProtectControlGroups=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
[Install]
WantedBy=multi-user.target
|