Restart mariadb at end of ghost install

This commit is contained in:
Bob Mottram 2017-06-06 13:38:37 +01:00
parent 2ac25c167b
commit 237ac847d6
1 changed files with 2 additions and 0 deletions

View File

@ -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"