From 68b211b492aa901f81f041395494ab735f5dfb4f Mon Sep 17 00:00:00 2001 From: "b.waal" Date: Sat, 31 Aug 2019 22:38:16 +0200 Subject: [PATCH] Update 'installer.sh' --- installer.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/installer.sh b/installer.sh index 43b549c..452d281 100644 --- a/installer.sh +++ b/installer.sh @@ -192,7 +192,8 @@ mysql -u root -p"$password" -e "FLUSH PRIVILEGES;" # MySQL Database Creation # ##-----------------------------## mysql -u root -p"$password" -e "CREATE DATABASE postfixadmin;" -mysql -u root -p"$password" -e "GRANT ALL ON postfixadmin.* TO 'postfixadmin'@'localhost' IDENTIFIED BY '"$password"';" +mysql -u root -p"$password" -e "CREATE USER '"postfixadmin"'@'localhost' IDENTIFIED BY '"$password"';" +mysql -u root -p"$password" -e "GRANT ALL ON "postfixadmin".* TO "postfixadmin"@'localhost';" mysql -u root -p"$password" -e "FLUSH PRIVILEGES;" ##------------------## @@ -320,6 +321,7 @@ chown vmail:vmail /etc/dovecot/sieve/ -R apt install unzip -y wget -q -t7 https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Mail/raw/branch/"$branch"/rainloop.sh -O /tmp/rainloop.sh source /tmp/rainloop.sh +ln -s /opt/rainloop /var/www/html/"$domain"/ ##-----------------------## # Enabling Services #