Skip to content

Commit 55c24a6

Browse files
committed
Don't chown /config/mastodon to speed up init
1 parent ace8ce1 commit 55c24a6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

root/etc/cont-init.d/50-config

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@ cd /app/www/ || exit 1
1717

1818
s6-setuidgid abc /usr/bin/bundle exec rails db:prepare
1919

20-
chown -R abc:abc \
21-
/config
20+
find /config -path /config/mastodon/public/system -prune -o -exec chown abc:abc {} +

0 commit comments

Comments
 (0)