Restart Pleroma after a recovery

This commit is contained in:
Salt 2020-07-30 08:30:59 -05:00
parent d62e55c418
commit efb4fa5be3

View File

@ -57,3 +57,5 @@ sudo -Hu postgres psql -c 'DROP DATABASE <pleroma_db>;'
sudo -Hu postgres psql -c 'CREATE DATABASE <pleroma_db>;'
sudo -Hu postgres pg_restore -d pleroma -v -1 db.pgdump
sudo -Hu postgres vacuumdb --all --analyze-in-stages
# FIRE IT UP
systemctl start pleroma