[PR #287] [MERGED] Add new parameter --lock-suffix. #788

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

📋 Pull Request Information

Original PR: https://github.com/dehydrated-io/dehydrated/pull/287
Author: @Eihrister
Created: 9/27/2016
Status: Merged
Merged: 12/18/2016
Merged by: @lukas2511

Base: masterHead: master


📝 Commits (2)

  • 524003d Add new parameter --lock-suffix.
  • fb4040c Fixed unbound variable error for new PARAM_LOCKFILE_SUFFIX.

📊 Changes

1 file changed (+9 additions, -0 deletions)

View changed files

📝 dehydrated (+9 -0)

📄 Description

This enables automation systems to run multiple instances of dehydrated
while still maintaining a locking facility. This is necessary for
projects like https://github.com/GUI/lua-resty-auto-ssl.

With this feature, one could run the script multiple times, while still
having a form of locking:

./dehydrated --lock-suffix test1.example.com -d test1.example.com
./dehydrated --lock-suffix test2.example.com -d test2.example.com
./dehydrated --lock-suffix test3.example.com -d test3.example.com
./dehydrated --lock-suffix test4.example.com -d test4.example.com
./dehydrated --lock-suffix test5.example.com -d test5.example.com

When starts the script with the same locking suffix, the scripts exits
like it normally would when locked. This will give you the benefits of
using --no-lock, without the disadvantages of it.


🔄 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/287 **Author:** [@Eihrister](https://github.com/Eihrister) **Created:** 9/27/2016 **Status:** ✅ Merged **Merged:** 12/18/2016 **Merged by:** [@lukas2511](https://github.com/lukas2511) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`524003d`](https://github.com/dehydrated-io/dehydrated/commit/524003dfd67a3d356f3cf4353bc3b2e8f38d8a62) Add new parameter --lock-suffix. - [`fb4040c`](https://github.com/dehydrated-io/dehydrated/commit/fb4040ce238e0d1da40a170fa0c46ee17c126e2e) Fixed unbound variable error for new PARAM_LOCKFILE_SUFFIX. ### 📊 Changes **1 file changed** (+9 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `dehydrated` (+9 -0) </details> ### 📄 Description This enables automation systems to run multiple instances of dehydrated while still maintaining a locking facility. This is necessary for projects like https://github.com/GUI/lua-resty-auto-ssl. With this feature, one could run the script multiple times, while still having a form of locking: ./dehydrated --lock-suffix test1.example.com -d test1.example.com ./dehydrated --lock-suffix test2.example.com -d test2.example.com ./dehydrated --lock-suffix test3.example.com -d test3.example.com ./dehydrated --lock-suffix test4.example.com -d test4.example.com ./dehydrated --lock-suffix test5.example.com -d test5.example.com When starts the script with the same locking suffix, the scripts exits like it normally would when locked. This will give you the benefits of using --no-lock, without the disadvantages of it. --- <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:29:16 +01:00
adam closed this issue 2025-12-29 01:29:18 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#788