Update 'update.sh'

This commit is contained in:
verita84 2023-08-05 11:28:03 -06:00
parent 220b1716f3
commit 6e2fbea703

View File

@ -1,8 +1,7 @@
#!/bin/bash
su pleroma -s $SHELL -lc "/opt/pleroma/bin/pleroma_ctl update"
su pleroma -s $SHELL -lc "/opt/pleroma/bin/pleroma_ctl migrate"
su pleroma -s $SHELL -lc "/opt/pleroma/bin/pleroma stop"
#su pleroma -s $SHELL -lc "/opt/pleroma/bin/pleroma daemon"
su pleroma -s $SHELL -lc "/opt/pleroma/bin/pleroma restart"
rm -f akkoma.zip
curl 'https://akkoma-updates.s3-website.fr-par.scw.cloud/stable/akkoma-debian-stable.zip' -o akkoma.zip
docker compose build
docker compose down
docker compose up -d