mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-06-30 09:24:34 -05:00
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.
5 lines
162 B
Bash
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
|