aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-06-14 08:00:00 +0800
committerRunxi Yu <me@runxiyu.org>2024-07-26 08:00:00 +0800
commit5cb75c1af0a0418974e1b20368e4fbf940912f9e (patch)
tree36aa7e46432257700291be8f927f06856c4b3c75 /contrib
parentgit: use system's git upload-pack (diff)
downloadlegitrx-5cb75c1af0a0418974e1b20368e4fbf940912f9e.tar.gz
legitrx-5cb75c1af0a0418974e1b20368e4fbf940912f9e.tar.zst
legitrx-5cb75c1af0a0418974e1b20368e4fbf940912f9e.zip
Fork init
Diffstat (limited to 'contrib')
-rw-r--r--contrib/legit.service8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/legit.service b/contrib/legit.service
index e0193ed..a17fd4c 100644
--- a/contrib/legit.service
+++ b/contrib/legit.service
@@ -1,12 +1,12 @@
[Unit]
-Description=legit Server
+Description=legitrx
After=network-online.target
Requires=network-online.target
[Service]
-User=git
-Group=git
-ExecStart=/usr/bin/legit -config /etc/legit/config.yaml
+User=legitrx
+Group=legitrx
+ExecStart=/usr/local/bin/legitrx -config /etc/legitrx.yaml
ProtectSystem=strict
ProtectHome=strict
NoNewPrivileges=true