Help me! Luckfox Pico Max 1106 - Server.Py
-
I use Luckfox Pico Max 1106. I set up the /root/server.py file mainly to make a personal server. my server is working. now how to make the server automatically restart when the internet connection is lost. please help me!
Hello, you can try writing a script in the background or opening a thread to call a command that pings the server. If an error is returned, you can attempt to restart the network or directly reboot the machine. Custom software design is not within the scope of technical support, so please verify and develop further details on your own.