Update 'installer.sh'
This commit is contained in:
@@ -192,7 +192,8 @@ mysql -u root -p"$password" -e "FLUSH PRIVILEGES;"
|
|||||||
# MySQL Database Creation #
|
# MySQL Database Creation #
|
||||||
##-----------------------------##
|
##-----------------------------##
|
||||||
mysql -u root -p"$password" -e "CREATE DATABASE postfixadmin;"
|
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;"
|
mysql -u root -p"$password" -e "FLUSH PRIVILEGES;"
|
||||||
|
|
||||||
##------------------##
|
##------------------##
|
||||||
@@ -320,6 +321,7 @@ chown vmail:vmail /etc/dovecot/sieve/ -R
|
|||||||
apt install unzip -y
|
apt install unzip -y
|
||||||
wget -q -t7 https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Mail/raw/branch/"$branch"/rainloop.sh -O /tmp/rainloop.sh
|
wget -q -t7 https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Mail/raw/branch/"$branch"/rainloop.sh -O /tmp/rainloop.sh
|
||||||
source /tmp/rainloop.sh
|
source /tmp/rainloop.sh
|
||||||
|
ln -s /opt/rainloop /var/www/html/"$domain"/
|
||||||
|
|
||||||
##-----------------------##
|
##-----------------------##
|
||||||
# Enabling Services #
|
# Enabling Services #
|
||||||
|
|||||||
Reference in New Issue
Block a user