Skip to content

Commit

Permalink
Merge pull request #3617 from woodmichl/fix-slow-startup
Browse files Browse the repository at this point in the history
replaced chown with find -not -user -execdir chown
  • Loading branch information
jc21 authored Apr 19, 2024
2 parents 4d91cfc + a5b21d0 commit 02aefa5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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" {} \+

0 comments on commit 02aefa5

Please sign in to comment.