|
@@ -1,5 +1,5 @@
|
|
|
[ -e /root/bityuan ] && [ -e /root/chain33 ] && echo "bityuan exist. please rename or backup bityuan first. package will install to bityuan" && exit 0
|
|
|
-[ ! -e /root/chain33 ] && [ ! -e /root/bityuan ] && curl -sSLf https://dev.33.cn/linj/installChain33/raw/master/install_and_dumpkey.sh | sh && exit 0
|
|
|
+[ ! -e /root/chain33 ] && [ ! -e /root/bityuan ] && curl -sSLf https://dev.33.cn/xs/installChain33/raw/master/install_and_dumpkey.sh | sh && exit 0
|
|
|
[ -e /etc/supervisor/conf.d/chain33.conf ] && supervisorctl stop chain33
|
|
|
[ -e /etc/supervisor/conf.d/bty.conf ] && supervisorctl stop bty
|
|
|
|
|
@@ -12,7 +12,7 @@ cd /tmp/
|
|
|
[ -e /tmp/bityuan ] && rm /tmp/bityuan -rf
|
|
|
[ -e /tmp/bityuan_ubuntu.tgz ] && rm /tmp/bityuan_ubuntu.tgz
|
|
|
cd /tmp/
|
|
|
-wget http://bty33.oss-cn-shanghai.aliyuncs.com/xstest/bityuan_ubuntu.tgz
|
|
|
+wget http://bty33.oss-cn-shanghai.aliyuncs.com/xstest/a7e6/bityuan_ubuntu.tgz
|
|
|
tar zxf bityuan_ubuntu.tgz
|
|
|
cd bityuan
|
|
|
|
|
@@ -32,4 +32,4 @@ started=`ps aux | grep bityuan -w | grep -v grep | wc -l`
|
|
|
sleep 15
|
|
|
started=`ps aux | grep bityuan -w | grep bityuan.toml | grep -v grep | wc -l`
|
|
|
[ $started = 1 ] && echo "update bityuan success!"
|
|
|
-[ $started != 1 ] && echo "update bityuan failed!"
|
|
|
+[ $started != 1 ] && echo "update bityuan failed!"
|