summarylogtreecommitdiffstats
path: root/git-daemon@.service
blob: 70e0dcaafe8b1da3eb263cd2de0e691a8074baa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Git Daemon Instance

[Service]
User=git
# The '-' is to ignore non-zero exit statuses
ExecStart=-/usr/lib/git-core/git-daemon --inetd --export-all --base-path=/srv/git
StandardInput=socket
StandardOutput=inherit
StandardError=journal
ProtectSystem=full
ProtectHome=on
PrivateDevices=on
NoNewPrivileges=on