|
@@ -14,6 +14,8 @@ cd chain33
|
|
|
[ -e bityuan.lite.toml ] && install bityuan.lite.toml /root/chain33/bityuan.lite.toml
|
|
|
[ -e chain33.conf ] && install chain33.conf /etc/supervisor/conf.d/chain33.conf && supervisorctl reload
|
|
|
|
|
|
+sleep 15
|
|
|
+set -x
|
|
|
started=`ps aux | grep bityuan -w | grep -v grep | wc -l`
|
|
|
[ $started != 1 ] || supervisorctl restart chain33
|
|
|
|