diff --git a/test.sh b/test.sh index 2260930..4109dc1 100644 --- a/test.sh +++ b/test.sh @@ -12,6 +12,7 @@ apt install -y apache2 mysql-server php libapache2-mod-php php-mysql curl rsync mysql_secure_installation +systemctl restart apache2 # ====== Create WordPress Database and User ====== mysql < /dev/null -else - echo "⚠️ Failed to fetch salts from WordPress API." -fi +nano /tmp/wordpress/wp-config.php # ====== Deploy WordPress ====== rsync -avP /tmp/wordpress/ /var/www/html/