标签:nap profile pig 1.0 ... test art linu 启动
1.windows server 2008
start "srvRegistry" java -jar srvRegistry-1.0-SNAPSHOT.jar --spring.profiles.active=test
start "apiGetway" java -jar apiGetway-1.0-SNAPSHOT.jar --spring.profiles.active=test
2.linux
#!/bin/sh
echo "set up srvRegistry..."
nohup java -Xms512m -Xmx1024m -jar srvRegistry-1.0-SNAPSHOT.jar --spring.profiles.active=run &
sleep 10
echo "set up apiGetway..."
nohup java -Xms512m -Xmx1024m -jar apiGetway-1.0-SNAPSHOT.jar --spring.profiles.active=run &
标签:nap profile pig 1.0 ... test art linu 启动
原文地址:https://www.cnblogs.com/jack-zou/p/8954480.html