From eabd4e92e73835744d93ffd1d1f7e0a73de98920 Mon Sep 17 00:00:00 2001 From: TheSpad Date: Wed, 23 Nov 2022 16:39:23 +0000 Subject: [PATCH] Don't chown /config/mastodon/ to speed up init --- root/etc/cont-init.d/50-config | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/root/etc/cont-init.d/50-config b/root/etc/cont-init.d/50-config index fbfad62..b32872b 100755 --- a/root/etc/cont-init.d/50-config +++ b/root/etc/cont-init.d/50-config @@ -17,5 +17,4 @@ cd /app/www/ || exit 1 s6-setuidgid abc /usr/bin/bundle exec rails db:prepare -chown -R abc:abc \ - /config +find /config -path /config/mastodon/public/system -prune -o -exec chown abc:abc {} +