add FORGEJO_WORK_DIR when running forgejo #34

Merged
meaz merged 1 commits from fix_theme into main 2023-09-10 07:58:46 +02:00
2 changed files with 4 additions and 2 deletions

View File

@ -103,4 +103,6 @@ RENDER_COMMAND = cat
IS_INPUT_FILE = true
RENDER_CONTENT_MODE = sanitized
{% endif %}
{% endfor %}
{% endfor %}

View File

@ -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
###