From ed08bd31ad591bbae6fbd66f910ccf0d129738ef Mon Sep 17 00:00:00 2001 From: nemsia Date: Wed, 26 Apr 2017 13:52:17 +0200 Subject: [PATCH] [fix] Add restart postgre --- scripts/restore | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/restore b/scripts/restore index 8d0df6a..65a4af8 100644 --- a/scripts/restore +++ b/scripts/restore @@ -88,6 +88,7 @@ sudo cp $YNH_APP_BACKUP_DIR/mastodon_db.sql $final_path # Restore db ynh_psql_create_db_without_password "$app" +sudo systemctl restart postgresql sudo su - postgres <