xq-api: update to 0.2.0.

Adds a LOG_V var to conf to set -v=N now that v(N) logging is used.
This commit is contained in:
Noel Cower 2019-01-20 14:46:46 -08:00 committed by Michael Aldridge
parent 027cdb5bb8
commit 5f763e4492
3 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,7 @@
NET=tcp
ADDR=127.0.0.1:8197
MAX_QUERIES=16
LOG_V=
LOG_ACCESS=f
LOG_TO_STDERR=t
LOG_DIR=

View file

@ -7,6 +7,7 @@ exec chpst -u _xqapi:_xqapi xq-api \
${NET:+-net="$NET"} \
${ADDR:+-listen="$ADDR"} \
${MAX_QUERIES:+-max-queries="$MAX_QUERIES"} \
${LOG_V:+-v="$LOG_V"} \
${LOG_ACCESS:+-log-access="$LOG_ACCESS"} \
${LOG_TO_STDERR:+-logtostderr="$LOG_TO_STDERR"} \
${LOG_DIR:+-log_dir="$LOG_DIR"} \

View file

@ -1,6 +1,6 @@
# Template file for 'xq-api'
pkgname=xq-api
version=0.1.1
version=0.2.0
revision=1
build_style=go
go_import_path=go.spiff.io/xq-api
@ -11,7 +11,7 @@ maintainer="Noel Cower <ncower@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/nilium/xq-api"
distfiles="https://github.com/nilium/xq-api/archive/v${version}.tar.gz"
checksum=a2409ff28abc19e2968624105d914c38134a86df29252a7b23b33a531836dadd
checksum=34d88a8ee3448aa066d79479e0f35736cf5e63d20a0358ea7fb25860b40991c7
system_accounts="_xqapi"
_xqapi_homedir="/var/lib/xq-api"