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