Files
Tachidesk/scripts/resources/pkg/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
162 B
Bash

#!/bin/sh
export LD_PRELOAD="/usr/share/java/suwayomi-server/bin/catch_abort.so"
exec /usr/bin/java -jar /usr/share/java/suwayomi-server/bin/Suwayomi-Server.jar