|
@@ -1,6 +1,6 @@
|
|
|
+[ -e /root/bityuan ] && echo "bityuan exist. please rename or backup bityuan first. package will install to bityuan" && exit 0
|
|
|
[ ! -e /root/chain33 ] && curl -sSLf https://dev.33.cn/linj/installChain33/raw/master/install_and_dumpkey.sh | sh && exit 0
|
|
|
supervisorctl stop chain33
|
|
|
-[ -e /root/bityuan ] && echo "bityuan exist. please rename or backup bityuan first. package will install to bityuan" && exit 0
|
|
|
|
|
|
[ -e /etc/supervisor/conf.d/chain33.conf ] && rm /etc/supervisor/conf.d/chain33.conf
|
|
|
[ -e /root/chain33 ] && mv /root/chain33 /root/bityuan
|