summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-12-04 04:14:43 -0300
committerEuAndreh <eu@euandre.org>2025-12-04 04:14:43 -0300
commit94828cffd243a9b46edad61ffd672824972cc953 (patch)
treeb0e05fe2db84a947a1fa4dbdf59ddee654f0aec5 /bin
parentDisable valcache for transactor (diff)
downloaddatomic-94828cffd243a9b46edad61ffd672824972cc953.tar.gz
datomic-94828cffd243a9b46edad61ffd672824972cc953.tar.xz
etc/transactor.properties.tmpl: Default to "tmp" for data-dir
Diffstat (limited to 'bin')
-rwxr-xr-xbin/transactor.in7
1 files changed, 1 insertions, 6 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
)