diff --git a/srcpkgs/gitea/files/gitea/log/run b/srcpkgs/gitea/files/gitea/log/run new file mode 120000 index 00000000000..3a5b4a58605 --- /dev/null +++ b/srcpkgs/gitea/files/gitea/log/run @@ -0,0 +1 @@ +/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/gitea/files/gitea/run b/srcpkgs/gitea/files/gitea/run index 6a621804bdd..0644a789526 100755 --- a/srcpkgs/gitea/files/gitea/run +++ b/srcpkgs/gitea/files/gitea/run @@ -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 diff --git a/srcpkgs/gitea/template b/srcpkgs/gitea/template index b24b3171b49..33ed4c7e16a 100644 --- a/srcpkgs/gitea/template +++ b/srcpkgs/gitea/template @@ -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"