Skip to content

Commit

Permalink
6.0.2
Browse files Browse the repository at this point in the history
6.0.2
  • Loading branch information
MinerPr0xy committed Feb 10, 2022
1 parent 3c04d8d commit 25bfd2c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,25 +97,25 @@ start_write_config() {
echo
echo "下载完成,开启守护"
echo
chmod a+x $installPath/MinerProxy_6.0.1_linux
chmod a+x $installPath/MinerProxy_6.0.2_linux
if [ -d "/etc/supervisor/conf/" ]; then
rm /etc/supervisor/conf/MinerProxy.conf -f
echo "[program:MinerProxy]" >>/etc/supervisor/conf/MinerProxy.conf
echo "command=${installPath}/MinerProxy_6.0.1_linux" >>/etc/supervisor/conf/MinerProxy.conf
echo "command=${installPath}/MinerProxy_6.0.2_linux" >>/etc/supervisor/conf/MinerProxy.conf
echo "directory=${installPath}/" >>/etc/supervisor/conf/MinerProxy.conf
echo "autostart=true" >>/etc/supervisor/conf/MinerProxy.conf
echo "autorestart=true" >>/etc/supervisor/conf/MinerProxy.conf
elif [ -d "/etc/supervisor/conf.d/" ]; then
rm /etc/supervisor/conf.d/MinerProxy.conf -f
echo "[program:MinerProxy]" >>/etc/supervisor/conf.d/MinerProxy.conf
echo "command=${installPath}/MinerProxy_6.0.1_linux" >>/etc/supervisor/conf.d/MinerProxy.conf
echo "command=${installPath}/MinerProxy_6.0.2_linux" >>/etc/supervisor/conf.d/MinerProxy.conf
echo "directory=${installPath}/" >>/etc/supervisor/conf.d/MinerProxy.conf
echo "autostart=true" >>/etc/supervisor/conf.d/MinerProxy.conf
echo "autorestart=true" >>/etc/supervisor/conf.d/MinerProxy.conf
elif [ -d "/etc/supervisord.d/" ]; then
rm /etc/supervisord.d/MinerProxy.ini -f
echo "[program:MinerProxy]" >>/etc/supervisord.d/MinerProxy.ini
echo "command=${installPath}/MinerProxy_6.0.1_linux" >>/etc/supervisord.d/MinerProxy.ini
echo "command=${installPath}/MinerProxy_6.0.2_linux" >>/etc/supervisord.d/MinerProxy.ini
echo "directory=${installPath}/" >>/etc/supervisord.d/MinerProxy.ini
echo "autostart=true" >>/etc/supervisord.d/MinerProxy.ini
echo "autorestart=true" >>/etc/supervisord.d/MinerProxy.ini
Expand Down Expand Up @@ -174,7 +174,7 @@ start_write_config() {
echo "本机防火墙端口19999已经开放,如果还无法连接,请到云服务商控制台操作安全组,放行对应的端口"
echo "默认端口:19999 默认密码:https://github.com/MinerPr0xy/MinerProxy 访问管理界面:本机IP:19999"
echo
echo "安装完成...守护模式无日志,需要日志的请以nohup ./MinerProxy_6.0.1_linux &方式运行"
echo "安装完成...守护模式无日志,需要日志的请以nohup ./MinerProxy_6.0.2_linux &方式运行"
echo
echo "以下配置文件:/etc/MinerProxy/config.yml,网页端可修改登录密码token"
echo
Expand All @@ -190,7 +190,7 @@ start_write_config() {
sleep 1
echo "[******----]"
echo
cat /etc/MinerProxy/config.json
cat /etc/MinerProxy/pwd.txt
echo "----------------------------------------------------------------"
}

Expand Down

0 comments on commit 25bfd2c

Please sign in to comment.