From d720ad3db76c1560361105706bae2ea73832a4c3 Mon Sep 17 00:00:00 2001 From: nemsia Date: Mon, 28 May 2018 14:25:46 +0200 Subject: [PATCH] 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