1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

Postgres fix (#84)

* Restart postgresql on upgrade
This commit is contained in:
nemsia 2018-05-28 14:31:49 +02:00 committed by GitHub
parent 27505a57d7
commit 7a3313b7cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,8 +87,10 @@ $final_path/.rbenv/versions/2.5.1/bin/bundle install --deployment --without deve
#yarn install --pure-lockfile #yarn install --pure-lockfile
MCOMMANDS MCOMMANDS
# Install package with yarn and restart postgresql
pushd $final_path/live pushd $final_path/live
yarn install --pure-lockfile yarn install --pure-lockfile
systemctl restart postgresql
popd popd
# Apply Mastodon upgrade # Apply Mastodon upgrade