Browse Source

Ensure ghost permissions

Bob Mottram 8 years ago
parent
commit
24bee4265c
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/freedombone-app-ghost

+ 1
- 0
src/freedombone-app-ghost View File

@@ -128,6 +128,7 @@ function upgrade_ghost {
128 128
     set_repo_commit $GHOST_PATH "ghost commit" "$GHOST_COMMIT" $GHOST_REPO
129 129
 
130 130
     ghost_replace_services
131
+    chown -R ghost: /var/www/${GHOST_DOMAIN_NAME}/htdocs
131 132
 
132 133
     systemctl restart ghost
133 134
 }