contrib/legit.service (view raw)
1[Unit]
2Description=legit Server
3After=network-online.target
4Requires=network-online.target
5
6[Service]
7User=git
8Group=git
9ExecStart=/usr/bin/legit -config /etc/legit/config.yaml
10ProtectSystem=strict
11ProtectHome=strict
12NoNewPrivileges=true
13PrivateTmp=true
14PrivateDevices=true
15
16[Install]
17WantedBy=multi-user.target