From a099c6625753274d733cfbbd17e6875fe078f4da Mon Sep 17 00:00:00 2001 From: Skillet Date: Fri, 10 Feb 2023 10:15:46 -0500 Subject: [PATCH] update node.js launch options should help with squadjs getting an error on the RCON connection. option will exit the entire process upon an unhandled promise rejection. this will allow a restart with docker. --- scripts/entry.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/entry.sh b/scripts/entry.sh index e5b65c9..73fd694 100644 --- a/scripts/entry.sh +++ b/scripts/entry.sh @@ -2,5 +2,5 @@ printf "Starting SquadJS...\n" sleep 10 -/usr/bin/node ./index.js +/usr/bin/node --unhandled-rejections=strict ./index.js