-
Notifications
You must be signed in to change notification settings - Fork 0
Container Management
This document asssumes that you have set up a Reywen server container and that it either works, or returns the error
thread 'main' panicked at 'WebSocket protocol error: Connection reset without closing handshake', src/main.rs:x:x
Both are acceptable and we can continue.
If there is a problem with creating the containers then create an issue.
The bot will crash eventually, this is true for any bot. So make sure that when it does the reywen is able to reboot quickly
I don't use docker and for now I can't help, sorry
While podman doesn't have any services for keeping bots online persistently, there is a script for creating systemd services for containers https://www.youtube.com/watch?v=AGkM2jGT61Y
Luckily updating Reywen easy, and can be done while the container is running! Make sure that you do not stop the updating process midway through as this could break the container. Once done the container may need to be restarted. Make sure to back up your configs while updating
name=$( echo "reywen-server" ) # container name
container=$( echo "podman exec $name" )
$container rm Reywen-Revolt -r
$container sh debian.sh
podman restart $name