© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
AdmincraftA
Admincraft•11mo ago•
12 replies
ned

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.
flags.sh
flags.sh
A simple script generator to start your Minecraft servers with optimal flags.
flags.sh
AdmincraftJoin
10,704Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Fabric server 1.20.1 Overloading?
AdmincraftAAdmincraft / questions
10mo ago
1.20.1 fabric server lag
AdmincraftAAdmincraft / questions
13mo ago
good auto restart mod for fabric 1.19.2
AdmincraftAAdmincraft / questions
3y ago
Crash on Fabric 1.20.1
AdmincraftAAdmincraft / questions
3y ago