From 94828cffd243a9b46edad61ffd672824972cc953 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 4 Dec 2025 04:14:43 -0300 Subject: etc/transactor.properties.tmpl: Default to "tmp" for data-dir --- bin/transactor.in | 7 +------ etc/transactor.properties.tmpl | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/bin/transactor.in b/bin/transactor.in index 1e99727..96ae405 100755 --- a/bin/transactor.in +++ b/bin/transactor.in @@ -12,15 +12,11 @@ usage() { PORT=50200 -TEMPDATADIR='tmp' -while getopts 'p:T:' flag; do +while getopts 'p:' flag; do case "$flag" in (p) PORT="$OPTARG" ;; - (T) - TEMPDATADIR="$OPTARG" - ;; (*) usage >&2 exit 2 @@ -54,6 +50,5 @@ exec java \ sed \ -e "s|@PORT@|$PORT|g" \ -e "s|@FILE@|$FILE|g" \ - -e "s|@TEMPDATADIR@|$TEMPDATADIR|g" \ @SYSCONFDIR@/transactor.properties.tmpl ) diff --git a/etc/transactor.properties.tmpl b/etc/transactor.properties.tmpl index 5b9ef47..cea24e4 100644 --- a/etc/transactor.properties.tmpl +++ b/etc/transactor.properties.tmpl @@ -4,7 +4,7 @@ port=@PORT@ encrypt-channel=false sql-driver-class=org.sqlite.JDBC sql-url=jdbc:sqlite:@FILE@ -data-dir=@TEMPDATADIR@ +data-dir=tmp # 4GiB VM memory-index-threshold=32m -- cgit v1.2.3