Restart Pleroma after a recovery
This commit is contained in:
parent
d62e55c418
commit
efb4fa5be3
@ -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 psql -c 'CREATE DATABASE <pleroma_db>;'
|
||||||
sudo -Hu postgres pg_restore -d pleroma -v -1 db.pgdump
|
sudo -Hu postgres pg_restore -d pleroma -v -1 db.pgdump
|
||||||
sudo -Hu postgres vacuumdb --all --analyze-in-stages
|
sudo -Hu postgres vacuumdb --all --analyze-in-stages
|
||||||
|
# FIRE IT UP
|
||||||
|
systemctl start pleroma
|
||||||
|
Loading…
Reference in New Issue
Block a user