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