Merge pull request #3617 from woodmichl/fix-slow-startup

replaced chown with find -not -user -execdir chown
This commit is contained in:
jc21 2024-04-19 21:00:31 +10:00 committed by GitHub
commit 02aefa50cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,4 +25,4 @@ chown -R "$PUID:$PGID" /etc/nginx/conf.d
# Prevents errors when installing python certbot plugins when non-root
chown "$PUID:$PGID" /opt/certbot /opt/certbot/bin
chown -R "$PUID:$PGID" /opt/certbot/lib/python*/site-packages
find /opt/certbot/lib/python*/site-packages -not -user "$PUID" -execdir chown "$PUID:$PGID" {} \+