From 237ac847d60d2fd7e655ef39a9db44a07cf65b10 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 6 Jun 2017 13:38:37 +0100 Subject: [PATCH] Restart mariadb at end of ghost install --- src/freedombone-app-ghost | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/freedombone-app-ghost b/src/freedombone-app-ghost index cf59060f..118dd4f0 100755 --- a/src/freedombone-app-ghost +++ b/src/freedombone-app-ghost @@ -593,6 +593,7 @@ function install_ghost { if [[ $ONION_ONLY != 'no' ]]; then sed -i "s|url: .*|url: 'http://${GHOST_ONION_HOSTNAME}',|g" /var/www/${GHOST_DOMAIN_NAME}/htdocs/config.js + systemctl restart mariadb systemctl restart ghost fi @@ -602,6 +603,7 @@ function install_ghost { nginx_ensite $GHOST_DOMAIN_NAME systemctl restart nginx + systemctl restart mariadb ${PROJECT_NAME}-pass -u $MY_USERNAME -a ghost -p "$GHOST_ADMIN_PASSWORD"