miscJar/ws/start_chat.sh
François 1e613814ef Init
2022-01-26 19:00:01 +01:00

21 lines
456 B
Bash
Executable File

#!/bin/bash
# Title : start_dodwand.sh
# Role : script for launching the DoDWAN daemon
# Syntax : ./start_dodwand.sh [-Dkey=value ...]
DODWAN_VERSION=1.0.1
DODWAN_ROOT=${HOME}/DoDWAN
if [ "${HOSTNAME}" == "" ] ; then
echo "Variable HOSTNAME not defined."
exit 1
fi
java -Ddodwan.root=${DODWAN_ROOT} \
-Ddodwan.host=${HOSTNAME} \
$* -cp ./dodwan-${DODWAN_VERSION}.jar:Chat.jar -Ddodwan.announce_period=1 network.chat.LaunchChat