diff options
Diffstat (limited to 'rulemgt-standalone/src/main')
-rw-r--r-- | rulemgt-standalone/src/main/assembly/bin/run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rulemgt-standalone/src/main/assembly/bin/run.sh b/rulemgt-standalone/src/main/assembly/bin/run.sh index b710217..983ed62 100644 --- a/rulemgt-standalone/src/main/assembly/bin/run.sh +++ b/rulemgt-standalone/src/main/assembly/bin/run.sh @@ -57,7 +57,7 @@ else sed -i "s|url:.*|url: jdbc:postgresql://$URL_JDBC/$DB_NAME|" "$main_path/conf/rulemgt.yml" fi -export SERVICE_IP=`hostname -i` +export SERVICE_IP=`hostname -i | awk '{print $1}'` echo SERVICE_IP=${SERVICE_IP} if [ ! -z ${TESTING} ] && [ ${TESTING} = 1 ]; then |