diff --git a/post_install.sh b/post_install.sh index e1c64a8..27a44b3 100755 --- a/post_install.sh +++ b/post_install.sh @@ -113,8 +113,8 @@ chown -R www:www /usr/local/www/wordpress #Use wp to complete the Wordpress installation cd /usr/local/www/wordpress -su -m www -c "wp core config --dbname=$DB --dbuser=$USER --dbpass=$PASS" -su -m www -c "wp core install --title=$DB --admin_user=$WPUSER --admin_password=$WPPASS --admin_email=ken@blkdoor.com +su -m www -c "wp core config --dbname=${DB} --dbuser=${USER} --dbpass=${PASS}" +su -m www -c "wp core install --title=${DB} --admin_user=${WPUSER} --admin_password=${WPPASS} --admin_email=ken@blkdoor.com #restart the services to make sure we have pick up the new permission service php-fpm restart 2>/dev/null