Restart mariadb at end of ghost install
This commit is contained in:
parent
2ac25c167b
commit
237ac847d6
|
@ -593,6 +593,7 @@ function install_ghost {
|
||||||
|
|
||||||
if [[ $ONION_ONLY != 'no' ]]; then
|
if [[ $ONION_ONLY != 'no' ]]; then
|
||||||
sed -i "s|url: .*|url: 'http://${GHOST_ONION_HOSTNAME}',|g" /var/www/${GHOST_DOMAIN_NAME}/htdocs/config.js
|
sed -i "s|url: .*|url: 'http://${GHOST_ONION_HOSTNAME}',|g" /var/www/${GHOST_DOMAIN_NAME}/htdocs/config.js
|
||||||
|
systemctl restart mariadb
|
||||||
systemctl restart ghost
|
systemctl restart ghost
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -602,6 +603,7 @@ function install_ghost {
|
||||||
nginx_ensite $GHOST_DOMAIN_NAME
|
nginx_ensite $GHOST_DOMAIN_NAME
|
||||||
|
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
|
systemctl restart mariadb
|
||||||
|
|
||||||
${PROJECT_NAME}-pass -u $MY_USERNAME -a ghost -p "$GHOST_ADMIN_PASSWORD"
|
${PROJECT_NAME}-pass -u $MY_USERNAME -a ghost -p "$GHOST_ADMIN_PASSWORD"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue