Make configuration file path overridable by CLI/Env #104

Closed
opened 2025-12-29 01:23:19 +01:00 by adam · 1 comment
Owner

Originally created by @kradalby on GitHub (Jan 27, 2022).

Currently we have a very rigid hierarchy of paths that we look for the configuration file.

We should add the possibility to pass:

  1. --config (or -c) to all commands with the path to a configfile
  2. HEADSCALE_CONFIG_PATH in the environment
Originally created by @kradalby on GitHub (Jan 27, 2022). Currently we have a very rigid hierarchy of paths that we look for the configuration file. We should add the possibility to pass: 1. `--config` (or `-c`) to all commands with the path to a configfile 2. `HEADSCALE_CONFIG_PATH` in the environment
adam added the enhancement label 2025-12-29 01:23:19 +01:00
adam closed this issue 2025-12-29 01:23:19 +01:00
Author
Owner

@kradalby commented on GitHub (Jun 12, 2022):

This has been fixed in #612

@kradalby commented on GitHub (Jun 12, 2022): This has been fixed in #612
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#104