add FORGEJO_WORK_DIR when running forgejo #34
2 changed files with 4 additions and 2 deletions
|
@ -103,4 +103,6 @@ RENDER_COMMAND = cat
|
|||
IS_INPUT_FILE = true
|
||||
RENDER_CONTENT_MODE = sanitized
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ WorkingDirectory=/var/lib/forgejo/
|
|||
ExecStart={{ forgejo_bindir }}/forgejo web -c {{ forgejo_confdir }}
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
Environment=USER={{ forgejo_user }} HOME=/home/{{ forgejo_user }} FORGEJO_WORK_DIR=/var/lib/forgejo
|
||||
Environment=USER={{ forgejo_user }} HOME=/home/{{ forgejo_user }} FORGEJO_WORK_DIR=/var/lib/forgejo FORGEJO_CUSTOM={{ forgejo_theme_dir }}
|
||||
# If you want to bind Forgejo to a port below 1024 uncomment
|
||||
# the two values below
|
||||
###
|
||||
|
|
Loading…
Reference in a new issue