aa
This commit is contained in:
parent
634aeed419
commit
9d08efe19f
1 changed files with 1 additions and 0 deletions
1
cns.init
1
cns.init
|
|
@ -49,6 +49,7 @@ start()
|
|||
cd "[cns_install_dir]"
|
||||
rm -f "[cns_install_dir]/run.pid"
|
||||
./cns -json=cns.json -daemon >/dev/null
|
||||
sleep 3
|
||||
count=0
|
||||
while [ ! -f "[cns_install_dir]/run.pid" ] && [ "$count" -le 10 ]; do
|
||||
sleep 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue