Skip to content

A free open source IT asset/license management system

Merge branch 'develop'

snipe9fe4e11874fe
diff --cc snipeit.sh
index ebb7d48328,561b5f1cb5..799096a717
mode 100644,100755..100644
--- a/snipeit.sh
+++ b/snipeit.sh
@@@ -339,15 -339,15 +339,15 @@@ case $distro i
echo "* Configuring .env file."
tzone=$(cat /etc/timezone)
setenv
-
+
vhenvfile
-
- echo "* Starting the MariaDB server.";
+
+ echo "* Starting the MariaDB server.";
service mysql status >/dev/null || service mysql start
-
+
echo "* Securing MariaDB server.";
/usr/bin/mysql_secure_installation
-
-
++
echo "* Creating MariaDB Database/User."
echo "* Please Input your MariaDB root password:"
mysql -u root -p --execute="CREATE DATABASE snipeit;GRANT ALL PRIVILEGES ON snipeit.* TO snipeit@localhost IDENTIFIED BY '$mysqluserpw';"