From a501536da0ee0e7cdb4ee4cf839b28502fe7e4ac Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 13 Mar 2018 22:46:22 +0000 Subject: [PATCH] set ownership after upgrade --- src/freedombone-app-pleroma | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/freedombone-app-pleroma b/src/freedombone-app-pleroma index 74e2f7aa..f808eef8 100755 --- a/src/freedombone-app-pleroma +++ b/src/freedombone-app-pleroma @@ -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 }