|
@@ -304,8 +304,6 @@ function install_ghost {
|
304
|
304
|
function_check install_nodejs
|
305
|
305
|
install_nodejs ghost
|
306
|
306
|
|
307
|
|
- ghost_create_config
|
308
|
|
-
|
309
|
307
|
sed -i "/sqlite/d" /var/www/${GHOST_DOMAIN_NAME}/htdocs/package.json
|
310
|
308
|
npm install --production
|
311
|
309
|
|
|
@@ -318,6 +316,8 @@ function install_ghost {
|
318
|
316
|
function_check ghost_create_database
|
319
|
317
|
ghost_create_database
|
320
|
318
|
|
|
319
|
+ ghost_create_config
|
|
320
|
+
|
321
|
321
|
adduser --system --home=/var/www/${GHOST_DOMAIN_NAME}/htdocs/ --group ghost
|
322
|
322
|
chown -R ghost: /var/www/${GHOST_DOMAIN_NAME}/htdocs/
|
323
|
323
|
|