From f89b543c1b3423d5b2aa6425952765f8392d6413 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Sat, 18 Mar 2023 16:39:16 -0700 Subject: [PATCH] fix path to vhost dir --- bin/wp-create-db-user-from-config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/wp-create-db-user-from-config.sh b/bin/wp-create-db-user-from-config.sh index d2bfa92..fd8b958 100755 --- a/bin/wp-create-db-user-from-config.sh +++ b/bin/wp-create-db-user-from-config.sh @@ -19,7 +19,7 @@ if [ ! -f /srv/www/$VHOST/html/wp-config.php ]; then fi # set username -VHOST_USER=$(stat -c '%U' /srv/$VHOST) +VHOST_USER=$(stat -c '%U' /srv/www/$VHOST) cd /srv/www/$VHOST/html/ DB_NAME=`wp --allow-root config get DB_NAME`