set ownership after upgrade

This commit is contained in:
Bob Mottram 2018-03-13 22:46:22 +00:00
parent cff61c8d43
commit a501536da0
1 changed files with 2 additions and 0 deletions

View File

@ -769,6 +769,8 @@ function upgrade_pleroma {
expire_pleroma_posts "$PLEROMA_DOMAIN_NAME" "$PLEROMA_EXPIRE_MONTHS"
create_pleroma_blocklist
chown -R pleroma:pleroma $PLEROMA_DIR
systemctl restart pleroma
}