]> bicyclesonthemoon.info Git - botm/certbot/commitdiff
Rename to avoid dots which prevented execution by cron :/ main
authorb <rowerynaksiezycu@gmail.com>
Fri, 7 Jul 2023 19:59:30 +0000 (19:59 +0000)
committerb <rowerynaksiezycu@gmail.com>
Fri, 7 Jul 2023 19:59:30 +0000 (19:59 +0000)
botm.sh
certbot-botm.cron
makefile

diff --git a/botm.sh b/botm.sh
index a39f478dc5e63c7c5d1d4cf8e928b03c68dcc318..dbf8c5b55d7098727c2740a112f46726d003e4b0 100755 (executable)
--- 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
index 99acb326ca67745da9f836cb31cef95c4484b4e8..4c7a0ba08a22226adacb307809f6f0359d4612e7 100644 (file)
@@ -1,4 +1,4 @@
 # CERTBOT
 
 # bicyclesonthemoon.info
-23 6 * * * b /botm/bin/certbot/botm.sh
+36 * * * * b /botm/bin/certbot/botm
index 64d50be177c04f8caddce72261ec8eaeddc0649b..67113c342887a7e0dc8ea90ab7ab47381589affa 100644 (file)
--- 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/