更新 cns.init
This commit is contained in:
parent
2e965167cb
commit
787b2606ca
1 changed files with 1 additions and 1 deletions
2
cns.init
2
cns.init
|
|
@ -70,7 +70,7 @@ stop()
|
|||
status | grep stopped && return 0
|
||||
echo -n "Stopping cns:"
|
||||
kill `cat [cns_install_dir]/run.pid 2>/dev/null` 2>/dev/null
|
||||
kill -9 `pidof cns` >/dev/null 2>&1
|
||||
kill -9 $(pgrep -f "./cns -json") 2>/dev/null
|
||||
sleep 1
|
||||
grep -q cns /proc/`cat [cns_install_dir]/run.pid`/comm 2>/dev/null && \
|
||||
echo -e "\033[60G[\033[31mFAILED\033[0m]" || \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue