1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #!/bin/bash
- # SL
- # ==========================================
- # Color
- RED='\033[0;31m'
- NC='\033[0m'
- GREEN='\033[0;32m'
- ORANGE='\033[0;33m'
- BLUE='\033[0;34m'
- PURPLE='\033[0;35m'
- CYAN='\033[0;36m'
- LIGHT='\033[0;37m'
- # ==========================================
- clear
- echo -e ""
- echo -e "Starting Restart All Service"
- sleep 2
- systemctl restart ssrmu
- systemctl restart ws-tls
- systemctl restart ws-nontls
- systemctl restart xray.service
- systemctl restart shadowsocks-libev
- systemctl restart xl2tpd
- systemctl restart pptpd
- systemctl restart ipsec
- systemctl restart accel-ppp
- systemctl restart ws-ovpn
- systemctl restart wg-quick@wg0
- systemctl restart ssh-ohp
- systemctl restart dropbear-ohp
- systemctl restart openvpn-ohp
- systemctl restart trojan-go
- /etc/init.d/ssrmu restart
- /etc/init.d/ssh restart
- /etc/init.d/dropbear restart
- /etc/init.d/sslh restart
- /etc/init.d/stunnel5 restart
- /etc/init.d/openvpn restart
- /etc/init.d/fail2ban restart
- /etc/init.d/cron restart
- /etc/init.d/nginx restart
- /etc/init.d/squid restart
- screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7100 --max-clients 1000
- screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7200 --max-clients 1000
- screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7300 --max-clients 1000
- echo -e "Restart All Service Berhasil"
|