Skip to content

Commit

Permalink
Sends correct term signal to process to avoid container crash
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymoulin committed Dec 22, 2024
1 parent eca6024 commit 1b38e32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

trap 'kill -SIGTERM $PID' TERM INT
trap 'kill -TERM $PID' TERM INT
rm -f /opt/JDownloader/app/JDownloader.jar.* 2> /dev/null
rm -f /opt/JDownloader/app/JDownloader.pid 2> /dev/null

Expand Down

0 comments on commit 1b38e32

Please sign in to comment.