use certbot file hooks instead of command line hooks

This commit is contained in:
Feilner authored and Eric Nemchik committed 2022-10-05 19:41:49 +00:00
1 parent 29a1c29be3
commit 51dc4ce7b2
8 files changed
+80 -69

No files matched your search

+2 -2
View File
@@ -3,9 +3,9 @@
# make our folders and links
mkdir -p \
/config/{fail2ban,crontabs,dns-conf} \
/config/etc/letsencrypt \
/config/etc/letsencrypt/renewal-hooks \
/config/log/{fail2ban,letsencrypt,nginx} \
/config/nginx/proxy-confs \
/var/run/fail2ban
/run/fail2ban
rm -rf /etc/letsencrypt
ln -s /config/etc/letsencrypt /etc/letsencrypt