aboutsummaryrefslogtreecommitdiff
path: root/scripts/upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/upgrade')
-rw-r--r--scripts/upgrade6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/upgrade b/scripts/upgrade
index 5585e03..8551421 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -155,6 +155,12 @@ 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
(
pushd $final_path/live