This commit is contained in:
Ken Johnson 2020-11-02 15:51:11 -08:00
parent 1ed7af0f49
commit a6c4d13384
1 changed files with 2 additions and 2 deletions

View File

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