Skip to content

Commit d2ac440

Browse files
ericonrmanfredu
authored andcommitted
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] go-gitea/gitea#19367
1 parent 7084fec commit d2ac440

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

srcpkgs/gitea/files/gitea/log/run

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/usr/bin/vlogger

srcpkgs/gitea/files/gitea/run

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ export HOME=/var/lib/gitea
88
# gitea needs to run from its home for SSH to work properly
99
export GITEA_WORK_DIR="${HOME}"
1010

11-
exec chpst -u _gitea:_gitea gitea web --config /etc/gitea.conf
11+
cd "${HOME}"
12+
exec chpst -u _gitea:_gitea gitea web --config /etc/gitea.conf 2>&1

srcpkgs/gitea/template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Template file for 'gitea'
22
pkgname=gitea
3-
version=1.16.7
3+
version=1.16.8
44
revision=1
55
create_wrksrc=yes
66
build_style=go
@@ -32,7 +32,7 @@ license="MIT"
3232
homepage="https://gitea.io"
3333
changelog="https://raw.githubusercontent.com/go-gitea/gitea/main/CHANGELOG.md"
3434
distfiles="https://dl.gitea.io/gitea/${version}/gitea-src-${version}.tar.gz"
35-
checksum=51599b16d1c2e16dd617e0e9b5d1cc314a1ef141394d582833d411b9ccd2ac48
35+
checksum=5bf01b45f9c441f9d38d727cc1328414e4e5778ac5b01bc98979d82bc520a23d
3636

3737
system_accounts="_gitea"
3838
_gitea_homedir="/var/lib/gitea"

0 commit comments

Comments
 (0)