]> bicyclesonthemoon.info Git - botm/certbot/commitdiff
Let's start encrypting :)
authorb <rowerynaksiezycu@gmail.com>
Mon, 9 Jan 2023 22:06:47 +0000 (22:06 +0000)
committerb <rowerynaksiezycu@gmail.com>
Mon, 9 Jan 2023 22:06:47 +0000 (22:06 +0000)
botm.sh [new file with mode: 0755]
certbot-botm.cron [new file with mode: 0644]
makefile [new file with mode: 0644]

diff --git a/botm.sh b/botm.sh
new file mode 100755 (executable)
index 0000000..a39f478
--- /dev/null
+++ b/botm.sh
@@ -0,0 +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
diff --git a/certbot-botm.cron b/certbot-botm.cron
new file mode 100644 (file)
index 0000000..99acb32
--- /dev/null
@@ -0,0 +1,4 @@
+# CERTBOT
+
+# bicyclesonthemoon.info
+23 6 * * * b /botm/bin/certbot/botm.sh
diff --git a/makefile b/makefile
new file mode 100644 (file)
index 0000000..687879b
--- /dev/null
+++ b/makefile
@@ -0,0 +1,13 @@
+install: cp_bin cp_cron
+       
+
+exec: botm.sh
+       chmod +x botm.sh
+
+cp_bin: botm.sh exec
+       cp -p botm.sh /botm/bin/certbot/
+
+cp_cron: certbot-botm.cron
+       sudo cp certbot-botm.cron /etc/cron.d
+
+PHONY: install exec cp_bin cp_cron