From 7a3313b7cf14937bbc2b5bb6c1a7a951f0983d9c Mon Sep 17 00:00:00 2001 From: nemsia Date: Mon, 28 May 2018 14:31:49 +0200 Subject: [PATCH] Postgres fix (#84) * Restart postgresql on upgrade --- scripts/upgrade | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 1ea88ca..2c27ab6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -87,8 +87,10 @@ $final_path/.rbenv/versions/2.5.1/bin/bundle install --deployment --without deve #yarn install --pure-lockfile MCOMMANDS +# Install package with yarn and restart postgresql pushd $final_path/live yarn install --pure-lockfile +systemctl restart postgresql popd # Apply Mastodon upgrade