[PR #99] [MERGED] Add conf.d support #712

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

📋 Pull Request Information

Original PR: https://github.com/dehydrated-io/dehydrated/pull/99
Author: @ymc-dabe
Created: 1/21/2016
Status: Merged
Merged: 1/22/2016
Merged by: @lukas2511

Base: masterHead: feature/add_conf.d_support


📝 Commits (1)

📊 Changes

2 files changed (+28 additions, -3 deletions)

View changed files

📝 config.sh.example (+7 -1)
📝 letsencrypt.sh (+21 -2)

📄 Description

This PR adds support for a new config variable CONFIG_D in the main
configuration file. Setting a path to a directoy for CONFIG_D advises
letsencrypt.sh to source any additional files found in the specified
CONFIG_D directory, that have a '.sh' ending.
By default CONFIG_D is not set, meaning letsencrypt.sh does not source any
additional configuration files.

Background

From the perspective of a Linux distribution, letsencrypt.sh should be shipped
with a default configuration located at /etc/letsencrypt.sh/config.sh. Neither
the user nor other packages should need to mangle this default configuration.
Instead configuration changes should go into separate files.


🔄 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/dehydrated-io/dehydrated/pull/99 **Author:** [@ymc-dabe](https://github.com/ymc-dabe) **Created:** 1/21/2016 **Status:** ✅ Merged **Merged:** 1/22/2016 **Merged by:** [@lukas2511](https://github.com/lukas2511) **Base:** `master` ← **Head:** `feature/add_conf.d_support` --- ### 📝 Commits (1) - [`a1cb7cc`](https://github.com/dehydrated-io/dehydrated/commit/a1cb7cccd213a3008eafedf937aa413763e4c30d) Add conf.d support ### 📊 Changes **2 files changed** (+28 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `config.sh.example` (+7 -1) 📝 `letsencrypt.sh` (+21 -2) </details> ### 📄 Description This PR adds support for a new config variable CONFIG_D in the main configuration file. Setting a path to a directoy for CONFIG_D advises letsencrypt.sh to source any additional files found in the specified CONFIG_D directory, that have a '.sh' ending. By default CONFIG_D is not set, meaning letsencrypt.sh does not source any additional configuration files. > ### Background > > From the perspective of a Linux distribution, letsencrypt.sh should be shipped > with a default configuration located at /etc/letsencrypt.sh/config.sh. Neither > the user nor other packages should need to mangle this default configuration. > Instead configuration changes should go into separate files. --- <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 01:28:36 +01:00
adam closed this issue 2025-12-29 01:28:36 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#712