[DiscordArchive] is there a way to gracefully shut server down aside from the ctrl+c spam? like a shutdown or stop co
[DiscordArchive] is there a way to gracefully shut server down aside from the ctrl+c spam? like a shutdown or stop co
Archived author: Shevron • Posted: 2025-04-19T11:10:14.345000+00:00
Original source
problem with ctrl+c is that it immediately starts again
Archived author: Mithria • Posted: 2025-04-19T11:10:22.843000+00:00
Original source
not for me
Archived author: Tereneckla • Posted: 2025-04-19T11:10:42.899000+00:00
Original source
if you start it through the acore.sh script it attaches a restarted
Archived author: Mithria • Posted: 2025-04-19T11:10:56.817000+00:00
Original source
although im using a custom restarter that pauses for 10 seconds on server stop allowing me to press enter to prevent further restarts
Archived author: Mithria • Posted: 2025-04-19T11:11:18.866000+00:00
Original source
i just modified the one that comes with acore
Archived author: Tereneckla • Posted: 2025-04-19T11:11:24.485000+00:00
Original source
the simple restarter just restarts every time, no way to stop
Archived author: Mithria • Posted: 2025-04-19T11:11:33.043000+00:00
Original source
its easy enough to add to it
Archived author: Tereneckla • Posted: 2025-04-19T11:12:39.677000+00:00
Original source
or modify the commented out part
think
```sh
if [$_exit_code -eq 0 ]; then
exit 0
fi
```
should work
Archived author: Tereneckla • Posted: 2025-04-19T11:15:35.432000+00:00
Original source
in `/apps/startup-scripts/simple-restarter` that is
Archived author: WizzFizz • Posted: 2025-04-19T11:15:57.686000+00:00
Original source
I use server shutdown 5
That gives a 5 sec countdown then shutsdown gracefully