Skip to content

Commit

Permalink
Add restart command.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Young committed Oct 6, 2022
1 parent d1582af commit 707a0eb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,16 @@ install_XrayR() {
chmod +x /usr/bin/XrayR
ln -s /usr/bin/XrayR /usr/bin/xrayr # 小写兼容
chmod +x /usr/bin/xrayr

systemctl daemon-reload
XrayR restart
echo "正在关闭防火墙!"
echo
systemctl disable firewalld
systemctl stop firewalld
echo "XrayR服务已经完成重启,请愉快地享用!"
echo

cd $cur_dir
rm -f install.sh
echo -e ""
Expand Down

0 comments on commit 707a0eb

Please sign in to comment.