home
·
contact
·
privacy
projects
/
config
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update w530 setup.
[config]
/
buster
/
setup_scripts
/
update_pleroma_source.sh
1
#!/bin/sh
2
set -e
3
set -x
4
5
# Heavily inspired by <https://docs-develop.pleroma.social/backend/administration/updating/>
6
su pleroma -s $SHELL -lc 'cd /opt/pleroma && git pull && mix deps.get'
7
service pleroma stop
8
su pleroma -s $SHELL -lc 'MIX_ENV=prod cd /opt/pleroma && mix ecto.migrate'
9
service pleroma start