From 0191fc887ee9e211e0c4dced100bed166f71d6cb Mon Sep 17 00:00:00 2001 From: Akilesh Kannan Date: Sun, 16 Apr 2023 10:34:46 +0530 Subject: contrib: add systemd service file --- contrib/legit.service | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 contrib/legit.service (limited to 'contrib/legit.service') 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 -- cgit