summaryrefslogtreecommitdiff
path: root/bin/transactor.in
diff options
context:
space:
mode:
Diffstat (limited to 'bin/transactor.in')
-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
)