ned
AAdmincraft
•Created by ned on 3/25/2025 in #questions
Auto restart for fabric (1.20.1) server on linux
I've googled this a lot, and i havent found a solution that works. I've looked at https://flags.sh/ but that creates a 'server.jar', and my instance has 'fabric-server-launcher.jar' that seems to have a different file structure.
I'm on a fairly modded world, I've tried to set it so it restarts (with a systemd service) but since the script has a Read-Host (linux equivalent) , it thinks that the server is still running because enter has not been pressed for that prompt.
So I just want a way to restart my server when it crashes, that is it.
13 replies