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:
committed by
Michael Aldridge
parent
027cdb5bb8
commit
5f763e4492
@@ -1,6 +1,7 @@
|
|||||||
NET=tcp
|
NET=tcp
|
||||||
ADDR=127.0.0.1:8197
|
ADDR=127.0.0.1:8197
|
||||||
MAX_QUERIES=16
|
MAX_QUERIES=16
|
||||||
|
LOG_V=
|
||||||
LOG_ACCESS=f
|
LOG_ACCESS=f
|
||||||
LOG_TO_STDERR=t
|
LOG_TO_STDERR=t
|
||||||
LOG_DIR=
|
LOG_DIR=
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ exec chpst -u _xqapi:_xqapi xq-api \
|
|||||||
${NET:+-net="$NET"} \
|
${NET:+-net="$NET"} \
|
||||||
${ADDR:+-listen="$ADDR"} \
|
${ADDR:+-listen="$ADDR"} \
|
||||||
${MAX_QUERIES:+-max-queries="$MAX_QUERIES"} \
|
${MAX_QUERIES:+-max-queries="$MAX_QUERIES"} \
|
||||||
|
${LOG_V:+-v="$LOG_V"} \
|
||||||
${LOG_ACCESS:+-log-access="$LOG_ACCESS"} \
|
${LOG_ACCESS:+-log-access="$LOG_ACCESS"} \
|
||||||
${LOG_TO_STDERR:+-logtostderr="$LOG_TO_STDERR"} \
|
${LOG_TO_STDERR:+-logtostderr="$LOG_TO_STDERR"} \
|
||||||
${LOG_DIR:+-log_dir="$LOG_DIR"} \
|
${LOG_DIR:+-log_dir="$LOG_DIR"} \
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Template file for 'xq-api'
|
# Template file for 'xq-api'
|
||||||
pkgname=xq-api
|
pkgname=xq-api
|
||||||
version=0.1.1
|
version=0.2.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path=go.spiff.io/xq-api
|
go_import_path=go.spiff.io/xq-api
|
||||||
@@ -11,7 +11,7 @@ maintainer="Noel Cower <ncower@gmail.com>"
|
|||||||
license="BSD-2-Clause"
|
license="BSD-2-Clause"
|
||||||
homepage="https://github.com/nilium/xq-api"
|
homepage="https://github.com/nilium/xq-api"
|
||||||
distfiles="https://github.com/nilium/xq-api/archive/v${version}.tar.gz"
|
distfiles="https://github.com/nilium/xq-api/archive/v${version}.tar.gz"
|
||||||
checksum=a2409ff28abc19e2968624105d914c38134a86df29252a7b23b33a531836dadd
|
checksum=34d88a8ee3448aa066d79479e0f35736cf5e63d20a0358ea7fb25860b40991c7
|
||||||
system_accounts="_xqapi"
|
system_accounts="_xqapi"
|
||||||
_xqapi_homedir="/var/lib/xq-api"
|
_xqapi_homedir="/var/lib/xq-api"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user