contrib: add systemd service file
Akilesh Kannan aklsh@tuta.io
Sun, 16 Apr 2023 10:34:46 +0530
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