Restart Bot

This commit is contained in:
Whispering Wind
2024-08-08 21:42:56 +03:30
committed by GitHub
parent d129b48723
commit 9d3034b6d2

View File

@ -35,8 +35,9 @@ echo "Setting ownership and permissions for ca.key and ca.crt"
chown hysteria:hysteria /etc/hysteria/ca.key /etc/hysteria/ca.crt
chmod 640 /etc/hysteria/ca.key /etc/hysteria/ca.crt
echo "Restarting hysteria-server.service"
echo "Restarting hysteria and bot service"
systemctl restart hysteria-server.service
systemctl restart hysteria-bot.service
echo "Setting execute permissions for user.sh and kick.sh"
chmod +x /etc/hysteria/core/scripts/hysteria2/user.sh