summaryrefslogtreecommitdiffstats
path: root/contrib/legit.service
blob: e0193edaf69e11ea9708c2863e24fff9d23ebfb0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=legit Server
After=network-online.target
Requires=network-online.target

[Service]
User=git
Group=git
ExecStart=/usr/bin/legit -config /etc/legit/config.yaml
ProtectSystem=strict
ProtectHome=strict
NoNewPrivileges=true
PrivateTmp=true
PrivateDevices=true

[Install]
WantedBy=multi-user.target