From 3fc4f40cd25a7b86800db651a43bf167f1764a91 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 25 Jun 2017 20:32:54 +0100 Subject: [PATCH] Clear password --- src/freedombone-app-ghost | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/freedombone-app-ghost b/src/freedombone-app-ghost index 3199468b..dc53a7ff 100755 --- a/src/freedombone-app-ghost +++ b/src/freedombone-app-ghost @@ -237,6 +237,7 @@ function restore_local_ghost { MARIADB_PASSWORD=$(${PROJECT_NAME}-pass -u root -a mariadb) ghost_config=/var/www/${GHOST_DOMAIN_NAME}/htdocs/config.js sed -i "s|password :.*|password : '${MARIADB_PASSWORD}',|g" $ghost_config + MARIADB_PASSWORD= systemctl start ghost restart_site @@ -282,6 +283,7 @@ function restore_remote_ghost { MARIADB_PASSWORD=$(${PROJECT_NAME}-pass -u root -a mariadb) ghost_config=/var/www/${GHOST_DOMAIN_NAME}/htdocs/config.js sed -i "s|password :.*|password : '${MARIADB_PASSWORD}',|g" $ghost_config + MARIADB_PASSWORD= systemctl start ghost restart_site