From: Chris Koeritz Date: Sat, 17 Dec 2016 19:39:52 +0000 (-0500) Subject: new crontab for renewing letsencrypt X-Git-Tag: 2.140.90~327 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=f3056aa14dd7d652b75ca3d7ba8c401f5db1e22c;p=feisty_meow.git new crontab for renewing letsencrypt --- diff --git a/infobase/configuration/cron/letsencrypt_renewal.crontab b/infobase/configuration/cron/letsencrypt_renewal.crontab new file mode 100644 index 00000000..c3acd694 --- /dev/null +++ b/infobase/configuration/cron/letsencrypt_renewal.crontab @@ -0,0 +1,9 @@ + +SHELL=/bin/bash + +# m h dom mon dow command + +#[letsencrypt renewal] +# run the letsencrypt certificate renewal process every 4 hours. +37 */4 * * * letsencrypt renew &>/tmp/letsencrypt_last_run.txt + diff --git a/scripts/files/lesser.sh b/scripts/files/lesser.sh index 346679b4..66b7732e 100644 --- a/scripts/files/lesser.sh +++ b/scripts/files/lesser.sh @@ -11,7 +11,7 @@ # things like simple lists or error output. function lesser() { - code_view_flag="$1" + local code_view_flag="$1" if [ "$code_view_flag" == "-c" ]; then # saw the 'code' flag, which means show the file with source highlighting. shift