From: b Date: Mon, 9 Jan 2023 22:06:47 +0000 (+0000) Subject: Let's start encrypting :) X-Git-Url: http://bicyclesonthemoon.info/git-projects/?a=commitdiff_plain;h=9af88c337109a60f4614a2b4bce6e8b5cac76187;p=botm%2Fcertbot Let's start encrypting :) --- 9af88c337109a60f4614a2b4bce6e8b5cac76187 diff --git a/botm.sh b/botm.sh new file mode 100755 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 index 0000000..99acb32 --- /dev/null +++ b/certbot-botm.cron @@ -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 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