diff --git a/templates/etc/forgejo/app.ini.j2 b/templates/etc/forgejo/app.ini.j2 index d75f891..1feda31 100644 --- a/templates/etc/forgejo/app.ini.j2 +++ b/templates/etc/forgejo/app.ini.j2 @@ -103,4 +103,6 @@ RENDER_COMMAND = cat IS_INPUT_FILE = true RENDER_CONTENT_MODE = sanitized {% endif %} -{% endfor %} \ No newline at end of file +{% endfor %} + + diff --git a/templates/etc/systemd/system/forgejo.service.j2 b/templates/etc/systemd/system/forgejo.service.j2 index e467f3d..1db9ab4 100644 --- a/templates/etc/systemd/system/forgejo.service.j2 +++ b/templates/etc/systemd/system/forgejo.service.j2 @@ -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 ###