Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Lizsvr committed Oct 9, 2022
1 parent 7bca6e8 commit 20a4d56
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ssh/addhost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,16 @@ echo -e "${NC}${LIGHT}Telegram : https://t.me/liz_mine"
exit 0
fi
clear

# Delete Files
rm /etc/xray/*
rm /root/domain
rm /var/lib/akbarstorevpn/ipvps.conf
# Done

echo -e "========================="
read -rp "Masukan Domain/Host : " -e domain
echo -e "========================="
mkdir -p /usr/bin/xray
mkdir -p /etc/xray
echo $domain >> /etc/xray/domain
echo $domain >> /root/domain
echo "IP=$domain" >> /var/lib/akbarstorevpn/ipvps.conf
Expand Down
1 change: 1 addition & 0 deletions ssh/restart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ echo -e ""
echo -e "Starting Restart All Service"
sleep 2
#systemctl restart ssrmu
systemctl daemon-reload
systemctl restart ws-tls
systemctl restart ws-nontls
#systemctl restart xray.service
Expand Down

0 comments on commit 20a4d56

Please sign in to comment.