diff options
| author | nemsia <nemsia@nemsia.org> | 2018-05-28 14:31:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-28 14:31:49 +0200 |
| commit | 7a3313b7cf14937bbc2b5bb6c1a7a951f0983d9c (patch) | |
| tree | cd3c37aadec11521fbc12296f83c0b545c5faa25 /scripts/upgrade | |
| parent | 27505a57d71b4d71ca054e6e5392ae6082e49899 (diff) | |
| download | mastodon_ynh-7a3313b7cf14937bbc2b5bb6c1a7a951f0983d9c.tar.gz mastodon_ynh-7a3313b7cf14937bbc2b5bb6c1a7a951f0983d9c.tar.bz2 mastodon_ynh-7a3313b7cf14937bbc2b5bb6c1a7a951f0983d9c.zip | |
Postgres fix (#84)
* Restart postgresql on upgrade
Diffstat (limited to 'scripts/upgrade')
| -rw-r--r-- | scripts/upgrade | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
