diff options
| author | EuAndreh <eu@euandre.org> | 2025-12-04 04:14:43 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2025-12-04 04:14:43 -0300 |
| commit | 94828cffd243a9b46edad61ffd672824972cc953 (patch) | |
| tree | b0e05fe2db84a947a1fa4dbdf59ddee654f0aec5 | |
| parent | Disable valcache for transactor (diff) | |
| download | datomic-94828cffd243a9b46edad61ffd672824972cc953.tar.gz datomic-94828cffd243a9b46edad61ffd672824972cc953.tar.xz | |
etc/transactor.properties.tmpl: Default to "tmp" for data-dir
Diffstat (limited to '')
| -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 |
