From: b Date: Fri, 7 Jul 2023 19:59:30 +0000 (+0000) Subject: Rename to avoid dots which prevented execution by cron :/ X-Git-Url: http://bicyclesonthemoon.info/git-projects/?a=commitdiff_plain;ds=sidebyside;p=botm%2Fcertbot Rename to avoid dots which prevented execution by cron :/ --- diff --git a/botm.sh b/botm.sh index a39f478..dbf8c5b 100755 --- a/botm.sh +++ b/botm.sh @@ -1,3 +1,3 @@ #!/usr/bin/sh # the script for the bicyclesonthemoon.info certificates. -certbot certonly --config-dir /botm/etc/certbot/ --work-dir /botm/data/certbot/ --logs-dir /botm/log/certbot/ --cert-name botm --webroot --webroot-path /botm/www/botm -d bicyclesonthemoon.info --webroot-path /botm/www/1190 -d 1190.bicyclesonthemoon.info -d moonbase.chirpingmustard.com --webroot-path /botm/www/baltixy/ -d baltixy.bicyclesonthemoon.info --webroot-path /botm/www/rnk/ -d rnk.bicyclesonthemoon.info -d rowerynaksiezycu.pl +certbot certonly --config-dir /botm/etc/certbot/ --work-dir /botm/data/certbot/ --logs-dir /botm/log/certbot/ --cert-name botm --webroot --webroot-path /botm/www/botm -d bicyclesonthemoon.info --webroot-path /botm/www/1190 -d 1190.bicyclesonthemoon.info -d moonbase.chirpingmustard.com --webroot-path /botm/www/baltixy/ -d baltixy.bicyclesonthemoon.info --webroot-path /botm/www/rnk/ -d rnk.bicyclesonthemoon.info -d rowerynaksiezycu.pl > /botm/log/certbot/out.txt 2> /botm/log/certbot/err.txt diff --git a/certbot-botm.cron b/certbot-botm.cron index 99acb32..4c7a0ba 100644 --- a/certbot-botm.cron +++ b/certbot-botm.cron @@ -1,4 +1,4 @@ # CERTBOT # bicyclesonthemoon.info -23 6 * * * b /botm/bin/certbot/botm.sh +36 * * * * b /botm/bin/certbot/botm diff --git a/makefile b/makefile index 64d50be..67113c3 100644 --- a/makefile +++ b/makefile @@ -5,10 +5,10 @@ exec: botm.sh chmod +x botm.sh cp_bin: botm.sh exec - cp -p botm.sh /botm/bin/certbot/ + cp -p botm.sh /botm/bin/certbot/botm cp_cron: certbot-botm.cron - sudo cp certbot-botm.cron /etc/cron.d + sudo cp certbot-botm.cron /etc/cron.d/certbot-botm cp_conf: ssl-certbot-botm.conf cp ssl-certbot-botm.conf /botm/etc/www/conf/