1
This commit is contained in:
parent
881a707faf
commit
d61512f253
@ -1,9 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
ps -ef|grep node|grep web3server|grep -v grep
|
ps -ef|grep node|grep web3service|grep -v grep
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
ps -ef|grep node|grep web3server|grep -v grep|awk '{print $2}'|xargs kill -9
|
ps -ef|grep node|grep web3service|grep -v grep|awk '{print $2}'|xargs kill -9
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd bin
|
cd bin
|
||||||
nohup node ../web3server/app.js >> web3server.out 2>&1 &
|
nohup node ../web3service/app.js >> web3service.out 2>&1 &
|
||||||
|
Loading…
x
Reference in New Issue
Block a user