akkoma/update.sh
Your Name 4dd9eade07 fix
2022-11-27 15:12:31 -07:00

9 lines
319 B
Bash

#!/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"