all repos — legit @ 0191fc887ee9e211e0c4dced100bed166f71d6cb

web frontend for git, written in go

contrib: add systemd service file

Akilesh Kannan aklsh@tuta.io
Sun, 16 Apr 2023 10:34:46 +0530
commit

0191fc887ee9e211e0c4dced100bed166f71d6cb

parent

dc07fff40c4837f37168173ea6fb6c84403d6dbd

1 files changed, 17 insertions(+), 0 deletions(-)

jump to
A 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