xq-api: update to 0.5.0.

Adds the RELOAD_EVERY config option to set the -reload-every flag for
the service.
This commit is contained in:
Noel Cower 2021-02-27 21:10:05 -08:00 committed by Michael Aldridge
parent ad2b9bc075
commit 460bc42c6a
3 changed files with 5 additions and 3 deletions

View file

@ -6,3 +6,4 @@ LOG_ACCESS=f
LOG_TO_STDERR=t
LOG_DIR=
REPODATA=/var/db/xbps
RELOAD_EVERY=

View file

@ -6,6 +6,7 @@ exec 2>&1
exec chpst -u _xqapi:_xqapi xq-api \
${NET:+-net="$NET"} \
${ADDR:+-listen="$ADDR"} \
${RELOAD_EVERY:+-reload-every="$RELOAD_EVERY"} \
${MAX_QUERIES:+-max-queries="$MAX_QUERIES"} \
${LOG_V:+-v="$LOG_V"} \
${LOG_ACCESS:+-log-access="$LOG_ACCESS"} \

View file

@ -1,7 +1,7 @@
# Template file for 'xq-api'
pkgname=xq-api
version=0.4.0
revision=2
version=0.5.0
revision=1
build_style=go
go_import_path=go.spiff.io/xq-api
conf_files="/etc/sv/xq-api/conf"
@ -11,7 +11,7 @@ maintainer="Noel Cower <ncower@nil.dev>"
license="BSD-2-Clause"
homepage="https://github.com/nilium/xq-api"
distfiles="https://github.com/nilium/xq-api/archive/v${version}.tar.gz"
checksum=0d03345899feb2094e662e6e1d0a4de09ebb82f4f2a474cdc48504059c837c6d
checksum=087940a16830eaf821abfcb8c6e0daad47078b4859b9acf236464bfca809ed43
system_accounts="_xqapi"
_xqapi_homedir="/var/lib/xq-api"