配置修改
This commit is contained in:
parent
221f120e72
commit
6c389deb84
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue