mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-27 16:37:55 +01:00
Merge pull request #3617 from woodmichl/fix-slow-startup
replaced chown with find -not -user -execdir chown
This commit is contained in:
1 file changed
+1
-1
@@ -25,4 +25,4 @@ chown -R "$PUID:$PGID" /etc/nginx/conf.d
|
|||||||
|
|
||||||
# Prevents errors when installing python certbot plugins when non-root
|
# Prevents errors when installing python certbot plugins when non-root
|
||||||
chown "$PUID:$PGID" /opt/certbot /opt/certbot/bin
|
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" {} \+
|
||||||
Reference in new issue
Block a user