Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass Watchdog token via environment variable #33

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

TsjipTsjip
Copy link
Contributor

Closes #27 .

Necessary as command line arguments, through which this was originally passed, show up in process listings on the host. Environment variables are generally the preferred way of passing secrets to processes.

RobustToolbox supports this syntax as of the 4th of April 2024 with commit 84360c653d26baa4ce7510d8d1b003ea617aa02b . This PR does form a breaking change for use cases where older versions of RobustToolbox are required, and this should be communicated accordingly if deemed relevant.

@PJB3005
Copy link
Member

PJB3005 commented Nov 8, 2024

There are still hubbed servers (Dungeon Dig) that are using an engine version too old to support this. This is the reason I've been wary of doing this myself.

I guess just pinging for the breaking change is probably fine.

@PJB3005 PJB3005 merged commit 5bb0671 into space-wizards:master Nov 8, 2024
1 check passed
@TsjipTsjip TsjipTsjip deleted the patch-2 branch November 8, 2024 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Watchdog API token should be passed to game server via env var
2 participants