SquadJSDocker/scripts/entry.sh
Skillet a099c66257
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.
2023-02-10 10:15:46 -05:00

7 lines
107 B
Bash

#!/bin/sh
printf "Starting SquadJS...\n"
sleep 10
/usr/bin/node --unhandled-rejections=strict ./index.js