From 5f4c1b960ad46ba0fb70e74ee820e341d796253b Mon Sep 17 00:00:00 2001 From: "b.waal" Date: Thu, 29 Aug 2019 14:45:15 +0200 Subject: [PATCH] Update 'installer.sh' --- installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer.sh b/installer.sh index 5f31b19..ca363b1 100644 --- a/installer.sh +++ b/installer.sh @@ -207,7 +207,7 @@ tar -xf /tmp/postfixadmin.tar.gz -C /var/www/"$domain"/html/postfixadmin --strip chmod 755 -R /var/www/"$domain"/html/postfixadmin/templates_c chown -R www-data: /var/www/"$domain"/html/ wget https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Mail/raw/branch/dev/config/postfixadmin/config.local.php -O /var/www/$domain/html/postfixadmin/config.local.php -sed -i -e 's/PASSword/'$password'/' -e 's/dOmaINnamE/'$domain'/' /var/www/"$domain"/html/postfixadmin/config.local.php +sed -i -e 's/PASSword/'$password'/' -e 's/dOmaINnamE/'$domonly'/' /var/www/"$domain"/html/postfixadmin/config.local.php sudo -u www-data php /var/www/"$domain"/html/postfixadmin/upgrade.php bash /var/www/"$domain"/html/postfixadmin/scripts/postfixadmin-cli admin add superadmin@"$domain" --superadmin 1 --active 1 --password "$password" --password2 "$password" groupadd -g 5000 vmail