[PR #8] [MERGED] Handle relative paths in private_key_path and derp_map_path #1192

Closed
opened 2025-12-29 02:29:10 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/8
Author: @cure
Created: 4/23/2021
Status: Merged
Merged: 4/23/2021
Merged by: @juanfont

Base: mainHead: relative-paths-in-config


📝 Commits (1)

  • 683b151 If the configuration file contains relative paths (e.g. in the values

📊 Changes

2 files changed (+18 additions, -4 deletions)

View changed files

📝 cmd/headscale/headscale.go (+16 -2)
📝 config.json.example (+2 -2)

📄 Description

If the configuration file contains relative paths (e.g. in the values for private_key_path or derp_map_path), interpret them as relative to the directory where the config.json file was read from.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/8 **Author:** [@cure](https://github.com/cure) **Created:** 4/23/2021 **Status:** ✅ Merged **Merged:** 4/23/2021 **Merged by:** [@juanfont](https://github.com/juanfont) **Base:** `main` ← **Head:** `relative-paths-in-config` --- ### 📝 Commits (1) - [`683b151`](https://github.com/juanfont/headscale/commit/683b151f19cdbd54460e00d5d083d790f20a9b24) If the configuration file contains relative paths (e.g. in the values ### 📊 Changes **2 files changed** (+18 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `cmd/headscale/headscale.go` (+16 -2) 📝 `config.json.example` (+2 -2) </details> ### 📄 Description If the configuration file contains relative paths (e.g. in the values for private_key_path or derp_map_path), interpret them as relative to the directory where the config.json file was read from. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 02:29:10 +01:00
adam closed this issue 2025-12-29 02:29:10 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1192