diff --git a/src/freedombone-app-ghost b/src/freedombone-app-ghost index 77890c05..18d15809 100755 --- a/src/freedombone-app-ghost +++ b/src/freedombone-app-ghost @@ -304,8 +304,6 @@ function install_ghost { function_check install_nodejs install_nodejs ghost - ghost_create_config - sed -i "/sqlite/d" /var/www/${GHOST_DOMAIN_NAME}/htdocs/package.json npm install --production @@ -318,6 +316,8 @@ function install_ghost { function_check ghost_create_database ghost_create_database + ghost_create_config + adduser --system --home=/var/www/${GHOST_DOMAIN_NAME}/htdocs/ --group ghost chown -R ghost: /var/www/${GHOST_DOMAIN_NAME}/htdocs/