Commit Graph

4 Commits

Author SHA1 Message Date
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
5d4651c168 fix: delay squadjs startup by 10 seconds
We have to wait until the Squad server is initialized and has a full
RCON connection up. This allows SquadJS to be started in tandem with a
Squad docker image in docker compose without conflict.

This is a bit hacky and a healthcheck would be superior, but there's a
lot of instances to check in the Squad log to even verify if the RCON
connection is good to go.

Another potential way of doing this health check is to attempt to login
into the rcon connection ourselves in a loop and then start SquadJS once
that rcon connection succeeds (after closing the RCON connection we
made).
2023-02-03 16:42:24 -06:00
04027db24b chore: remove unused file 2023-01-25 22:43:06 -06:00
ac57bfedce feat: full squadjs docker image 2023-01-25 17:48:46 -06:00