From 1b38e324c978ba0518c87d66829ac1d7cf537f02 Mon Sep 17 00:00:00 2001 From: Jay MOULIN Date: Sun, 22 Dec 2024 22:58:52 +0100 Subject: [PATCH] Sends correct term signal to process to avoid container crash --- daemon.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.sh b/daemon.sh index 1acfef8..d4548cb 100755 --- a/daemon.sh +++ b/daemon.sh @@ -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