mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
cron stops after signing the first cert #65
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?
Originally created by @debfx on GitHub (Feb 20, 2016).
In --cron mode letsencrypt.sh stops after creating the first non-existant certificate.
Say domains.txt contains:
If the test1 cert exists and hasn't expired, letsencrypt.sh creates a certificate for test2 and then just stops.
Trace:
Tested with revision
63a4937658@debfx commented on GitHub (Feb 20, 2016):
Something consumes stdin when sign_domain is called.
As a result the DOMAINS_TXT loop has nothing to read anymore and exists after the first certificate has been signed.
The following patch fixes this bug for me but may be overly complicated (I'm not that fluent in shell code):
@lukas2511 commented on GitHub (Feb 20, 2016):
Can you check if the mentioned commit fixes your problem?
@debfx commented on GitHub (Feb 20, 2016):
Yes, works fine. Thanks!