mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 23:23:32 +01:00
[PR #287] [MERGED] Add new parameter --lock-suffix. #788
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:master📝 Commits (2)
524003dAdd new parameter --lock-suffix.fb4040cFixed 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.