Compare commits

...

2 commits

2 changed files with 4 additions and 4 deletions

View file

@ -19,7 +19,7 @@
- name: '[INSTALL] - Download forgejo binary'
get_url:
url: '{{ forgejo_download_url }}'
dest: '{{ forgejo_bindir }}/forgejo'
dest: '{{ forgejo_bindir }}/gitea'
mode: '0750'
owner: '{{ forgejo_user }}'
group: '{{ forgejo_group }}'

View file

@ -19,11 +19,11 @@ RestartSec=2s
Type=simple
User={{ forgejo_user }}
Group={{ forgejo_group }}
WorkingDirectory=/var/lib/forgejo/
ExecStart={{ forgejo_bindir }}/forgejo web -c {{ forgejo_confdir }}
WorkingDirectory={{ forgejo_lib_dir }}
ExecStart={{ forgejo_bindir }}/gitea 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 }} GITEA_WORK_DIR={{ forgejo_lib_dir }}
# If you want to bind Forgejo to a port below 1024 uncomment
# the two values below
###