-
Notifications
You must be signed in to change notification settings - Fork 274
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
feat(linux-client): load token from /etc/dev.firezone.client
...
#4328
Conversation
…s not in CLI / env var This is more convenient for development, and it's a step towards getting the systemd service to work.
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
@@ -21,3 +21,4 @@ humantime = "2.1" | |||
resolv-conf = "0.7.0" | |||
thiserror = "1.0.57" | |||
tokio = { version = "1.36", default-features = false, features = ["rt", "macros", "signal"] } | |||
url = { version = "2.3.1", default-features = false } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure how it's deserializing URLs if I turned off all the features. I wonder if it's one of those glitches where this package doesn't ask for a feature, but another package in the workspace does, so we get a feature we didn't ask for and silently succeed when technically the Cargo.toml manifest is not correct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if that's consider a glitch, but I think it's that
Terraform Cloud Plan Output
|
Performance Test ResultsTCP
UDP
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
If it's not in CLI / env var
This is more convenient for development, and it's a step towards getting the systemd service to work.
The token:
/usr/lib/systemd/system/firezone-client.service
because that file is updated bydpkg
It has to be stored on disk somewhere for headless operation, so we can just read it directly from disk.