This repository was archived by the owner on Oct 20, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1515# Author: Christophe Maldivi <christophe.maldivi@orange.com>
1616
1717SERVICE_NAME=ClusteringServer
18+ SERVER_PORT=1958
1819PATH_TO_JAR=/usr/share/java/clustering-server.jar
1920PID_PATH_NAME=/tmp/$SERVICE_NAME -pid
2021
2122case $1 in
2223 start)
2324 echo " Starting $SERVICE_NAME ..."
2425 if [ ! -f $PID_PATH_NAME ]; then
25- nohup java -jar $PATH_TO_JAR 2>> /dev/null >> /dev/null &
26+ nohup java -jar $PATH_TO_JAR --server.port= $SERVER_PORT 2>> /dev/null >> /dev/null &
2627 echo $! > $PID_PATH_NAME
2728 echo " $SERVICE_NAME started ..."
2829 else
Original file line number Diff line number Diff line change 1515# Author: Christophe Maldivi <christophe.maldivi@orange.com>
1616
1717SERVICE_NAME=MediationServer
18+ SERVER_PORT=2407
1819PATH_TO_JAR=/usr/share/java/mediation-server.jar
1920PID_PATH_NAME=/tmp/$SERVICE_NAME -pid
2021
2122case $1 in
2223 start)
2324 echo " Starting $SERVICE_NAME ..."
2425 if [ ! -f $PID_PATH_NAME ]; then
25- nohup java -jar $PATH_TO_JAR 2>> /dev/null >> /dev/null &
26+ nohup java -jar $PATH_TO_JAR --server.port= $SERVER_PORT 2>> /dev/null >> /dev/null &
2627 echo $! > $PID_PATH_NAME
2728 echo " $SERVICE_NAME started ..."
2829 else
You can’t perform that action at this time.
0 commit comments