diff --git a/tools/install.sh b/tools/install.sh index f4e051c..0435ca1 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -12,6 +12,10 @@ chown domotique:domotique -R /usr/share/moha touch /var/log/moha.log chown domotique:domotique -R /var/log/moha.log +#CREATE USER 'moha'@'localhost' IDENTIFIED BY 'MohaMysql'; +#mysql -p < ./sql/moha.sql +# GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost'; + systemctl daemon-reload systemctl enable presenceD.service systemctl enable moha.service