diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/legit.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/contrib/legit.service b/contrib/legit.service new file mode 100644 index 0000000..e0193ed --- /dev/null +++ b/contrib/legit.service @@ -0,0 +1,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 |