Add a way for cronjobs to automatically renew certificates.

This commit is contained in:
xenolf 2015-12-06 22:35:52 +01:00
parent a528107826
commit 2a9875b220
2 changed files with 19 additions and 0 deletions

7
cli.go
View file

@ -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.",
},
},
},
}