diff options
| -rwxr-xr-x | bin/transactor.in | 7 | ||||
| -rw-r--r-- | 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 |
