From 33dbffb974fd63294ccf02becda387ade9553855 Mon Sep 17 00:00:00 2001 From: Tim O'Brien Date: Sat, 2 Dec 2023 14:49:37 +1100 Subject: [PATCH] Improve container startup time See https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2991 Removes uneeded file permission changes in rootfs certbot install. Tested installing custom DNS provider plugins for certbot, works correctly. --- docker/rootfs/etc/s6-overlay/s6-rc.d/prepare/30-ownership.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/rootfs/etc/s6-overlay/s6-rc.d/prepare/30-ownership.sh b/docker/rootfs/etc/s6-overlay/s6-rc.d/prepare/30-ownership.sh index a714298..f228353 100755 --- a/docker/rootfs/etc/s6-overlay/s6-rc.d/prepare/30-ownership.sh +++ b/docker/rootfs/etc/s6-overlay/s6-rc.d/prepare/30-ownership.sh @@ -24,4 +24,4 @@ chown -R "$PUID:$PGID" /etc/nginx/nginx.conf chown -R "$PUID:$PGID" /etc/nginx/conf.d # Prevents errors when installing python certbot plugins when non-root -chown -R "$PUID:$PGID" /opt/certbot +chown "$PUID:$PGID" /opt/certbot/lib/python3.7/site-packages/