diff options
author | Runxi Yu <me@runxiyu.org> | 2024-06-14 08:00:00 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2024-07-26 08:00:00 +0800 |
commit | 5cb75c1af0a0418974e1b20368e4fbf940912f9e (patch) | |
tree | 36aa7e46432257700291be8f927f06856c4b3c75 /contrib/legit.service | |
parent | git: use system's git upload-pack (diff) | |
download | legitrx-5cb75c1af0a0418974e1b20368e4fbf940912f9e.tar.gz legitrx-5cb75c1af0a0418974e1b20368e4fbf940912f9e.tar.zst legitrx-5cb75c1af0a0418974e1b20368e4fbf940912f9e.zip |
Fork init
Diffstat (limited to 'contrib/legit.service')
-rw-r--r-- | contrib/legit.service | 8 |
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 |