配置修改

This commit is contained in:
lijiaqi 2023-02-21 17:36:11 +08:00
parent 221f120e72
commit 6c389deb84
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh
cd $PWD
pid=$(ps -ef | grep video.jar | grep -v grep | awk '{print $2}')
pid=$(ps -ef | grep lc_oa.jar | grep -v grep | awk '{print $2}')
if [ -n "$pid" ]; then
kill -9 $pid
fi
@ -22,8 +22,8 @@ else
fi
# 根据情况修改 web.war 为您的 war 包名称
nohup $RUN_JAVA $JAVA_OPTS -jar video.jar > system.log 2>&1 &
nohup $RUN_JAVA $JAVA_OPTS -jar lc_oa.jar > system.log 2>&1 &
sleep 1
pid=$(ps -ef | grep video.jar | grep -v grep | awk '{print $2}')
pid=$(ps -ef | grep lc_oa.jar | grep -v grep | awk '{print $2}')
echo $pid