forked from TrueCloudLab/lego
Add a way for cronjobs to automatically renew certificates.
This commit is contained in:
parent
a528107826
commit
2a9875b220
2 changed files with 19 additions and 0 deletions
7
cli.go
7
cli.go
|
@ -47,6 +47,13 @@ func main() {
|
|||
Name: "renew",
|
||||
Usage: "Renew a certificate",
|
||||
Action: renew,
|
||||
Flags: []cli.Flag{
|
||||
cli.IntFlag{
|
||||
Name: "days",
|
||||
Value: 0,
|
||||
Usage: "The number of days left on a certificate to renew it.",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue