HomeSoftware Heritage

add --keep-until-expiring closer to letsencrypt command in cron

Description

add --keep-until-expiring closer to letsencrypt command in cron

This change adds "--keep-until-expiring" closer to letsencrypt binary because there can be a pipe or another
command at the end.

Here is an example of broken cron (a lot of parameters is omitted):

certbot -d 'example.com' | grep "Congratulations" && (/sbin/service nginx reload) --keep-until-expiring

This change fixes it to:

certbot --keep-until-expiring -d 'example.com' | grep "Congratulations" && (/sbin/service nginx reload)

Details

Provenance
Pavel Pulec <pulecp@gmail.com>Authored on Nov 21 2019, 3:50 PM
olasdPushed on Nov 29 2019, 3:34 PM
Parents
R192:ef86ad229be2: Merge pull request #210 from bastelfreak/inifile
Branches
Unknown
Tags
Unknown

Event Timeline

Pavel Pulec <pulecp@gmail.com> committed R192:d7392da8f2a2: add --keep-until-expiring closer to letsencrypt command in cron (authored by Pavel Pulec <pulecp@gmail.com>).Nov 21 2019, 3:57 PM