From b3332d1f0af01b257467546f4eaf587330232f80 Mon Sep 17 00:00:00 2001 From: b Date: Fri, 7 Jul 2023 19:59:30 +0000 Subject: [PATCH] Rename to avoid dots which prevented execution by cron :/ --- botm.sh | 2 +- certbot-botm.cron | 2 +- makefile | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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/ -- 2.30.2