diff options
| author | nemsia <nemsia@nemsia.org> | 2018-05-28 14:25:46 +0200 |
|---|---|---|
| committer | nemsia <nemsia@nemsia.org> | 2018-05-28 14:25:46 +0200 |
| commit | d720ad3db76c1560361105706bae2ea73832a4c3 (patch) | |
| tree | cd3c37aadec11521fbc12296f83c0b545c5faa25 /scripts/upgrade | |
| parent | 998fa147b178ba9c6da3963ca17ac11566810e21 (diff) | |
| download | mastodon_ynh-d720ad3db76c1560361105706bae2ea73832a4c3.tar.gz mastodon_ynh-d720ad3db76c1560361105706bae2ea73832a4c3.tar.bz2 mastodon_ynh-d720ad3db76c1560361105706bae2ea73832a4c3.zip | |
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 |
