wuxw7 лет назад: 7
Родитель
Сommit
375fd9053b
2 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      CenterService/bin/start_center.sh
  2. 2 2
      CommentService/bin/start_comment.sh

+ 1 - 1
CenterService/bin/start_center.sh

@@ -10,6 +10,6 @@
 
 #### normal dev model
 #nohup java -jar -Dspring.profiles.active=dev $1 target/CenterService.jar > center.log $1 2>&1 &
-nohup java -jar -Dspring.profiles.active=$1 $2 target/CenterService.jar > center.log $1 2>&1 &
+nohup java -jar -Dspring.profiles.active=$1 $2 target/CenterService.jar > center.log $2 2>&1 &
 
 tail -100f center.log

+ 2 - 2
CommentService/bin/start_comment.sh

@@ -1,4 +1,4 @@
-##!/bin/bash
+#!/bin/bash
 #### debug model prod
 #nohup java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n -jar -Dspring.profiles.active=dev target/CommentService.jar $1 > comment.log 2>&1 &
 
@@ -9,6 +9,6 @@
 #nohup java -jar -Dspring.profiles.active=test $1 target/CommentService.jar > comment.log $1 2>&1 &
 
 #### normal dev model
-nohup java -jar -Dspring.profiles.active=$1 $2 target/CommentService.jar > comment.log $1 2>&1 &
+nohup java -jar -Dspring.profiles.active=$1 target/CommentService.jar > comment.log 2>&1 &
 
 tail -100f comment.log