ansible path

This commit is contained in:
meaz 2023-09-12 21:21:25 +02:00
parent 73fc033f16
commit 3462b37ae0
Signed by: meaz
GPG Key ID: CD7A47B2F1ED43B4
1 changed files with 2 additions and 2 deletions

View File

@ -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 }}/forgejo web -c {{ forgejo_confdir }}
Restart=always
RestartSec=3
Environment=USER={{ forgejo_user }} HOME=/home/{{ forgejo_user }} FORGEJO_WORK_DIR=/var/lib/forgejo FORGEJO_CUSTOM={{ forgejo_theme_dir }}
Environment=USER={{ forgejo_user }} HOME=/home/{{ forgejo_user }} FORGEJO_WORK_DIR={{ forgejo_lib_dir }} FORGEJO_CUSTOM={{ forgejo_theme_dir }}
# If you want to bind Forgejo to a port below 1024 uncomment
# the two values below
###