mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 15:13:33 +01:00
RFC: domains.txt format #11
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 @LynxChaus on GitHub (Dec 8, 2015).
It's possible to change domains.txt format to include webroot type domain aliases?
i.e.
/var/www/example.org/ apache example.org www.example.org
/var/www/example.net/ nginx example.net www.example.net other.example.net
/var/www/common/ mail mailhost.example.org webmail.example.org
and modify hook calling to pass webroot and type to it.
@lukas2511 commented on GitHub (Dec 8, 2015):
I like the idea, but i don't like the format.
Maybe something more like this which allows those parameters to be optional:
But maybe someone has an even better idea...
@M-M-M-M commented on GitHub (Dec 9, 2015):
I like the format of optional parameter PARAMETER=value
And passing these parameters as environment variables to hook script will be great and avoiding to surcharging hook parameter command line.
@LynxChaus commented on GitHub (Dec 9, 2015):
Add minimal parser
a0e62a4bcaAny suggestion?
@lukas2511 commented on GitHub (Dec 14, 2015):
@LynxChaus from reading your parser it looks like it just supports things like
VAR=value, but i'd like to also see support forVAR="value value value"and/or escaped values likeVAR=value\ value\ value.I think splitting the line at the right point and just passing it through declare would solve this.
@lukas2511 commented on GitHub (Jan 22, 2016):
This actually could be replaced by putting extra config files into the certificates directory. This may actually also be useful for storing per-certificate options like RENEW_DAYS and PRIVATE_KEY_RENEW. That would make this a lot easier to implement and it wouldn't have the whitespace issue.
@lukas2511 commented on GitHub (Jan 22, 2016):
Closing this, see #105 for a replacement for this.