#!/bin/bash
sudo su - mastodon -c 'cd live && RAILS_ENV=development bundle exec rails tmp:cache:clear && RAILS_ENV=development bundle exec rails assets:precompile'
sudo systemctl restart mastodon-*