Glitch-Shrike/reload.sh

4 lines
198 B
Bash
Raw Normal View History

2024-10-01 01:14:29 +00:00
#!/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-*