Ignore public/system to speed up chown
This commit is contained in:
parent
51456c1202
commit
7765e36975
|
@ -15,7 +15,7 @@ post_upgrade() {
|
|||
cd /var/lib/mastodon
|
||||
|
||||
echo "Setting ownership of mastodon files"
|
||||
chown mastodon:mastodon -R .
|
||||
find -path public/system -prune -o -exec chown mastodon:mastodon {} +
|
||||
echo "Refreshing bundle"
|
||||
sudo -u mastodon RAILS_ENV=production NODE_OPTIONS=--openssl-legacy-provider bundle install --redownload --standalone
|
||||
echo "Upgrading database schema"
|
||||
|
|
Loading…
Reference in a new issue