Ver código fonte

Ensure ghost permissions

Bob Mottram 8 anos atrás
pai
commit
24bee4265c
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1
    0
      src/freedombone-app-ghost

+ 1
- 0
src/freedombone-app-ghost Ver arquivo

@@ -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
 }