File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
docker/rootfs/etc/s6-overlay/s6-rc.d/prepare Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -27,15 +27,15 @@ chown -R "$PUID:$PGID" /etc/nginx/conf.d
27
27
CERT_INIT_FLAG=" /opt/certbot/.ownership_initialized"
28
28
29
29
if [ ! -f " $CERT_INIT_FLAG " ]; then
30
- # Prevents errors when installing python certbot plugins when non-root
31
- chown " $PUID :$PGID " /opt/certbot /opt/certbot/bin
32
-
33
- # Handle all site-packages directories efficiently
34
- find /opt/certbot/lib -type d -name " site-packages" | while read -r SITE_PACKAGES_DIR; do
35
- chown -R " $PUID :$PGID " " $SITE_PACKAGES_DIR "
36
- done
37
-
38
- # Create a flag file to skip this step on subsequent runs
39
- touch " $CERT_INIT_FLAG "
40
- chown " $PUID :$PGID " " $CERT_INIT_FLAG "
41
- fi
30
+ # Prevents errors when installing python certbot plugins when non-root
31
+ chown " $PUID :$PGID " /opt/certbot /opt/certbot/bin
32
+
33
+ # Handle all site-packages directories efficiently
34
+ find /opt/certbot/lib -type d -name " site-packages" | while read -r SITE_PACKAGES_DIR; do
35
+ chown -R " $PUID :$PGID " " $SITE_PACKAGES_DIR "
36
+ done
37
+
38
+ # Create a flag file to skip this step on subsequent runs
39
+ touch " $CERT_INIT_FLAG "
40
+ chown " $PUID :$PGID " " $CERT_INIT_FLAG "
41
+ fi
You can’t perform that action at this time.
0 commit comments