From 1ed7af0f49266192ba3890fcb5640dcdec5a1d57 Mon Sep 17 00:00:00 2001 From: Ken Johnson Date: Mon, 2 Nov 2020 15:46:50 -0800 Subject: [PATCH] more updates --- post_install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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