From 50558716a77dc522c2237f799147f6b95a20a26e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 8 Nov 2016 14:53:39 +0000 Subject: [PATCH] Create config later --- src/freedombone-app-ghost | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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/