Skip to content

Commit

Permalink
gitea: update to 1.16.8.
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
ericonr authored and TorrentofShame committed Jun 3, 2022
1 parent 3594b9e commit 74d44ae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions srcpkgs/gitea/files/gitea/log/run
3 changes: 2 additions & 1 deletion srcpkgs/gitea/files/gitea/run
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions srcpkgs/gitea/template
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 74d44ae

Please sign in to comment.