From 8e0f1210bde7d14a01ef3e806ea3c247002f399e Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Tue, 5 Oct 2021 13:46:59 -0700 Subject: [PATCH] fixed vhost- calls --- bin/vhost-deploy.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/vhost-deploy.sh b/bin/vhost-deploy.sh index 8b351f7..e71baf1 100755 --- a/bin/vhost-deploy.sh +++ b/bin/vhost-deploy.sh @@ -96,22 +96,22 @@ if ! grep -q "^$username:" /etc/passwd; then fi # add user if [[ -n $write ]]; then - /usr/local/bin/vhost-user-add.sh $username -p "$password" -w + /usr/local/bin/vhost-user-add.sh -u $username -p "$password" -w else - /usr/local/bin/vhost-user-add.sh $username -p "$password" + /usr/local/bin/vhost-user-add.sh -u $username -p "$password" fi # if jail option is set then jail user if [[ -n $jail ]]; then - /usr/local/bin/vhost-user-jail.sh $username > /dev/null 2>&1 + /usr/local/bin/vhost-user-jail.sh -u $username > /dev/null 2>&1 fi fi # add virtualhost -/usr/local/bin/vhost-add.sh $domain $username > /dev/null 2>&1 +/usr/local/bin/vhost-add.sh -d $domain -u $username > /dev/null 2>&1 # add mysql database if [[ -n $write ]]; then - /usr/local/bin/vhost-mysql-db-add.sh $domain -w > /dev/null 2>&1 + /usr/local/bin/vhost-mysql-db-add.sh -d $domain -w > /dev/null 2>&1 else - /usr/local/bin/vhost-mysql-db-add.sh $domain > /dev/null 2>&1 + /usr/local/bin/vhost-mysql-db-add.sh -d $domain > /dev/null 2>&1 fi