set vars instead of hard links
This commit is contained in:
parent
f8ff6d8fd8
commit
ec4303be1c
1 changed files with 2 additions and 2 deletions
|
@ -19,11 +19,11 @@ RestartSec=2s
|
|||
Type=simple
|
||||
User={{ forgejo_user }}
|
||||
Group={{ forgejo_group }}
|
||||
WorkingDirectory=/var/lib/forgejo/
|
||||
WorkingDirectory={{ forgejo_lib_dir }}
|
||||
ExecStart={{ forgejo_bindir }}/gitea web -c {{ forgejo_confdir }}
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
Environment=USER={{ forgejo_user }} HOME=/home/{{ forgejo_user }} GITEA_WORK_DIR=/var/lib/forgejo
|
||||
Environment=USER={{ forgejo_user }} HOME=/home/{{ forgejo_user }} GITEA_WORK_DIR={{ forgejo_lib_dir }}
|
||||
# If you want to bind Forgejo to a port below 1024 uncomment
|
||||
# the two values below
|
||||
###
|
||||
|
|
Loading…
Reference in a new issue