Create config later

This commit is contained in:
Bob Mottram 2016-11-08 14:53:39 +00:00
parent 777742e252
commit 50558716a7
1 changed files with 2 additions and 2 deletions

View File

@ -304,8 +304,6 @@ function install_ghost {
function_check install_nodejs function_check install_nodejs
install_nodejs ghost install_nodejs ghost
ghost_create_config
sed -i "/sqlite/d" /var/www/${GHOST_DOMAIN_NAME}/htdocs/package.json sed -i "/sqlite/d" /var/www/${GHOST_DOMAIN_NAME}/htdocs/package.json
npm install --production npm install --production
@ -318,6 +316,8 @@ function install_ghost {
function_check ghost_create_database function_check ghost_create_database
ghost_create_database ghost_create_database
ghost_create_config
adduser --system --home=/var/www/${GHOST_DOMAIN_NAME}/htdocs/ --group ghost adduser --system --home=/var/www/${GHOST_DOMAIN_NAME}/htdocs/ --group ghost
chown -R ghost: /var/www/${GHOST_DOMAIN_NAME}/htdocs/ chown -R ghost: /var/www/${GHOST_DOMAIN_NAME}/htdocs/