fix path to vhost dir

This commit is contained in:
Matthew Saunders Brown 2023-03-18 16:39:16 -07:00
parent d08a3f77a9
commit f89b543c1b

View File

@ -19,7 +19,7 @@ if [ ! -f /srv/www/$VHOST/html/wp-config.php ]; then
fi fi
# set username # set username
VHOST_USER=$(stat -c '%U' /srv/$VHOST) VHOST_USER=$(stat -c '%U' /srv/www/$VHOST)
cd /srv/www/$VHOST/html/ cd /srv/www/$VHOST/html/
DB_NAME=`wp --allow-root config get DB_NAME` DB_NAME=`wp --allow-root config get DB_NAME`