parent
86f8564b68
commit
840ec57db7
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# 杀掉进程
|
||||||
|
kill -9 `pgrep -f dsSupport` 2>/dev/null
|
||||||
|
sleep 3
|
||||||
|
|
||||||
|
cd /usr/local/dsMin/dsSupport
|
||||||
|
chmod +x dsSupport
|
||||||
|
# 运行为后台进程1
|
||||||
|
/usr/local/dsMin/dsSupport/dsSupport
|
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# 杀掉进程
|
||||||
|
kill -9 `pgrep -f dsSupport` 2>/dev/null
|
||||||
|
sleep 3
|
||||||
|
|
||||||
|
chmod +x dsBaseWeb
|
||||||
|
# 运行为后台进程
|
||||||
|
nohup /usr/local/dsMin/dsSupport/dsSupport >> /usr/local/dsMin/dsSupport/dsSupport.log 2>&1 &
|
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# kill 命令不使用 -9 参数时,会回调 onStop() 方法,确定不需要此回调建议使用 -9 参数
|
||||||
|
kill -9 `pgrep -f dsSupport` 2>/dev/null
|
Loading…
Reference in new issue