mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
gitea: update to 1.16.8.
- add log service - cd into $HOME before running: fixes issues with APP_DATA_PATH being a relative path, which is the default in the example config. See [1] [1] https://github.com/go-gitea/gitea/issues/19367
This commit is contained in:
parent
7276fa80a7
commit
44b6c96fa1
3 changed files with 5 additions and 3 deletions
1
srcpkgs/gitea/files/gitea/log/run
Symbolic link
1
srcpkgs/gitea/files/gitea/log/run
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/bin/vlogger
|
|
@ -8,4 +8,5 @@ export HOME=/var/lib/gitea
|
|||
# gitea needs to run from its home for SSH to work properly
|
||||
export GITEA_WORK_DIR="${HOME}"
|
||||
|
||||
exec chpst -u _gitea:_gitea gitea web --config /etc/gitea.conf
|
||||
cd "${HOME}"
|
||||
exec chpst -u _gitea:_gitea gitea web --config /etc/gitea.conf 2>&1
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'gitea'
|
||||
pkgname=gitea
|
||||
version=1.16.7
|
||||
version=1.16.8
|
||||
revision=1
|
||||
create_wrksrc=yes
|
||||
build_style=go
|
||||
|
@ -32,7 +32,7 @@ license="MIT"
|
|||
homepage="https://gitea.io"
|
||||
changelog="https://raw.githubusercontent.com/go-gitea/gitea/main/CHANGELOG.md"
|
||||
distfiles="https://dl.gitea.io/gitea/${version}/gitea-src-${version}.tar.gz"
|
||||
checksum=51599b16d1c2e16dd617e0e9b5d1cc314a1ef141394d582833d411b9ccd2ac48
|
||||
checksum=5bf01b45f9c441f9d38d727cc1328414e4e5778ac5b01bc98979d82bc520a23d
|
||||
|
||||
system_accounts="_gitea"
|
||||
_gitea_homedir="/var/lib/gitea"
|
||||
|
|
Loading…
Add table
Reference in a new issue