Files
Tachidesk/scripts/resources/suwayomi-server.sh
Constantin Piber bd7ea64b02 Add an abort handler and preload it on Linux (#1456)
Some native code (CEF) may cause SIGTRAP to be sent on fatal errors,
which brings down the entire server. Instead only kill the thread and
attempt to continue.
2025-06-21 12:02:05 -04:00

5 lines
114 B
Bash

#!/bin/sh
export LD_PRELOAD="`realpath ./bin/catch_abort.so`"
exec ./jre/bin/java -jar ./bin/Suwayomi-Server.jar