aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhaoyehua <zhaoyh6@asiainfo.com>2021-04-06 16:35:45 +0800
committerzhaoyehua <zhaoyh6@asiainfo.com>2021-04-06 16:36:02 +0800
commitb3dfb7cb2bc93d2e95c4ffd53191b33f740c783b (patch)
treee094b1053d17f9325f01f65aedbe345a027c1367
parentcd5bc673a71f56735844342d2740480a02a21b49 (diff)
feat:modify start shell script
Issue-ID: USECASEUI-525 Change-Id: I2c70cae2abcbb8d9b3ac3a09ed1e6f2854d37ebb Signed-off-by: zhaoyehua <zhaoyh6@asiainfo.com>
-rwxr-xr-xstandalone/src/main/assembly/run.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/standalone/src/main/assembly/run.sh b/standalone/src/main/assembly/run.sh
index 756cec6..72c5121 100755
--- a/standalone/src/main/assembly/run.sh
+++ b/standalone/src/main/assembly/run.sh
@@ -26,4 +26,6 @@ mv scripts bert-master/
cd /home/run/bert-master/
nohup python -u api_squad_online.py 33011 > online.log 2>&1 &
-python -u api_squad_offline.py 33012 > offline.log 2>&1
+nohup python -u api_squad_offline.py 33012 > offline.log 2>&1 &
+
+tail -f offline.log