From 083b0754456a19e31600e9a94a7c629da228c99a Mon Sep 17 00:00:00 2001 From: Alecks Gates Date: Sat, 3 Jun 2023 15:01:38 -0500 Subject: [PATCH] Fix find -exec documentation for docker certificate renewal --- .../content/documentation/admin/advanced/xmpp_clients.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/documentation/content/documentation/admin/advanced/xmpp_clients.en.md b/support/documentation/content/documentation/admin/advanced/xmpp_clients.en.md index c51d7a51..802d27d2 100644 --- a/support/documentation/content/documentation/admin/advanced/xmpp_clients.en.md +++ b/support/documentation/content/documentation/admin/advanced/xmpp_clients.en.md @@ -268,7 +268,7 @@ Modify your `docker-compose.yml` file, changing the `entrypoint` line under the This is the same as the above, but to be automatically executed after every certificate renewal. ```text - entrypoint: /bin/sh -c "trap exit TERM; while :; do certbot renew --webroot -w /var/www/certbot; chown -R root:999 /etc/letsencrypt/live; chmod 750 /etc/letsencrypt/live; chown -R root:999 /etc/letsencrypt/archive; chmod 750 /etc/letsencrypt/archive; find /etc/letsencrypt/ -name 'privkey*' -exec chmod 0640 {} \; sleep 12h & wait $${!}; done;" + entrypoint: /bin/sh -c "trap exit TERM; while :; do certbot renew --webroot -w /var/www/certbot; chown -R root:999 /etc/letsencrypt/live; chmod 750 /etc/letsencrypt/live; chown -R root:999 /etc/letsencrypt/archive; chmod 750 /etc/letsencrypt/archive; find /etc/letsencrypt/ -name 'privkey*' -exec chmod 0640 {} +; sleep 12h & wait $${!}; done;" ``` Continuing to modify `docker-compose.yml`, add the certbot certificate volume into the peertube container.