]> Frank Brehm's Git Trees - config/helga-hetzner/etc.git/commitdiff
committing changes in /etc made by "apt install -y certbot"
authorFrank Brehm <frank@brehm-online.com>
Tue, 13 Apr 2021 07:28:10 +0000 (09:28 +0200)
committerFrank Brehm <frank@brehm-online.com>
Tue, 13 Apr 2021 07:28:10 +0000 (09:28 +0200)
Package changes:
+certbot 0.31.0-1+deb10u1 all
+python3-acme 0.31.0-2 all
+python3-certbot 0.31.0-1+deb10u1 all
+python3-configargparse 0.13.0-1 all
+python3-future 0.16.0-1 all
+python3-josepy 1.1.0-2 all
+python3-mock 2.0.0-4 all
+python3-openssl 19.0.0-1 all
+python3-parsedatetime 2.4-2 all
+python3-pbr 4.2.0-5 all
+python3-requests-toolbelt 0.8.0-1 all
+python3-rfc3339 1.1-1 all
+python3-zope.component 4.3.0-1 all
+python3-zope.event 4.2.0-1 all
+python3-zope.hookable 4.0.4-4+b4 amd64
+python3-zope.interface 4.3.2-1+b2 amd64

.etckeeper
alternatives/futurize [new symlink]
alternatives/pasteurize [new symlink]
alternatives/pbr [new symlink]
cron.d/certbot [new file with mode: 0644]
letsencrypt/cli.ini [new file with mode: 0644]
logrotate.d/certbot [new file with mode: 0644]
systemd/system/timers.target.wants/certbot.timer [new symlink]

index 17f5d29df2d1402b202aca695d560c3a6396074a..9dc9d46f335eccb0abb1f2046d34055b74e84f20 100755 (executable)
@@ -268,6 +268,7 @@ maybe chmod 0644 'console-setup/remap.inc'
 maybe chmod 0755 'cron.d'
 maybe chmod 0644 'cron.d/.placeholder'
 maybe chmod 0644 'cron.d/amavisd-new'
+maybe chmod 0644 'cron.d/certbot'
 maybe chmod 0644 'cron.d/greetings'
 maybe chmod 0644 'cron.d/mdadm'
 maybe chmod 0644 'cron.d/mlmmj'
@@ -608,6 +609,8 @@ maybe chmod 0755 'ldap'
 maybe chmod 0644 'ldap/ldap.conf'
 maybe chmod 0755 'ldap/schema'
 maybe chmod 0644 'ldap/schema/amavis.schema'
+maybe chmod 0755 'letsencrypt'
+maybe chmod 0644 'letsencrypt/cli.ini'
 maybe chmod 0644 'libaudit.conf'
 maybe chmod 0755 'libnl-3'
 maybe chmod 0644 'libnl-3/classid'
@@ -638,6 +641,7 @@ maybe chmod 0644 'logrotate.d/apt'
 maybe chmod 0644 'logrotate.d/aptitude'
 maybe chmod 0644 'logrotate.d/bind'
 maybe chmod 0644 'logrotate.d/btmp'
+maybe chmod 0644 'logrotate.d/certbot'
 maybe chmod 0644 'logrotate.d/chrony'
 maybe chmod 0644 'logrotate.d/clamav-daemon'
 maybe chmod 0644 'logrotate.d/clamav-freshclam'
diff --git a/alternatives/futurize b/alternatives/futurize
new file mode 120000 (symlink)
index 0000000..7d32d09
--- /dev/null
@@ -0,0 +1 @@
+/usr/bin/python3-futurize
\ No newline at end of file
diff --git a/alternatives/pasteurize b/alternatives/pasteurize
new file mode 120000 (symlink)
index 0000000..5263f7f
--- /dev/null
@@ -0,0 +1 @@
+/usr/bin/python3-pasteurize
\ No newline at end of file
diff --git a/alternatives/pbr b/alternatives/pbr
new file mode 120000 (symlink)
index 0000000..0ac3fb3
--- /dev/null
@@ -0,0 +1 @@
+/usr/bin/python3-pbr
\ No newline at end of file
diff --git a/cron.d/certbot b/cron.d/certbot
new file mode 100644 (file)
index 0000000..e38dbb9
--- /dev/null
@@ -0,0 +1,17 @@
+# /etc/cron.d/certbot: crontab entries for the certbot package
+#
+# Upstream recommends attempting renewal twice a day
+#
+# Eventually, this will be an opportunity to validate certificates
+# haven't been revoked, etc.  Renewal will only occur if expiration
+# is within 30 days.
+#
+# Important Note!  This cronjob will NOT be executed if you are
+# running systemd as your init system.  If you are running systemd,
+# the cronjob.timer function takes precedence over this cronjob.  For
+# more details, see the systemd.timer manpage, or use systemctl show
+# certbot.timer.
+SHELL=/bin/sh
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+
+0 */12 * * * root test -x /usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(43200))' && certbot -q renew
diff --git a/letsencrypt/cli.ini b/letsencrypt/cli.ini
new file mode 100644 (file)
index 0000000..05a8e4f
--- /dev/null
@@ -0,0 +1,3 @@
+# Because we are using logrotate for greater flexibility, disable the
+# internal certbot logrotation.
+max-log-backups = 0
\ No newline at end of file
diff --git a/logrotate.d/certbot b/logrotate.d/certbot
new file mode 100644 (file)
index 0000000..05caa95
--- /dev/null
@@ -0,0 +1,6 @@
+/var/log/letsencrypt/*.log {
+    rotate 12
+    weekly
+    compress
+    missingok
+}
\ No newline at end of file
diff --git a/systemd/system/timers.target.wants/certbot.timer b/systemd/system/timers.target.wants/certbot.timer
new file mode 120000 (symlink)
index 0000000..b8d4c22
--- /dev/null
@@ -0,0 +1 @@
+/lib/systemd/system/certbot.timer
\ No newline at end of file