Compare commits
2 commits
main
...
forgejo_mi
Author | SHA1 | Date | |
---|---|---|---|
ec4303be1c | |||
f8ff6d8fd8 |
2 changed files with 4 additions and 4 deletions
|
@ -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 }}'
|
||||
|
|
|
@ -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
|
||||
###
|
||||
|
|
Loading…
Reference in a new issue