1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pufferpanel_ynh.git synced 2024-09-03 20:16:03 +02:00

clean restart

This commit is contained in:
liberodark 2019-01-04 22:15:55 +01:00
parent eb2bcad0c7
commit 66be80246c

View file

@ -119,7 +119,6 @@ echo "Creating pufferpanel account and installing database..."
#mysql -D $db_name -h localhost -P 3306 -u $db_name --password="$db_pwd" < ../conf/install.sql
#ynh_mysql_execute_as_root -D $db_name -u $db_user <<< "flush privileges;" ynh_die
ynh_mysql_execute_as_root "$(cat ../conf/install.sql)" $db_name
systemctl restart mariadb
#mysql -D $db_name -h localhost -P 3306 -u $db_name --password="$db_pwd" -e "SET GLOBAL event_scheduler = ON;"
ynh_mysql_connect_as $db_user $db_pwd <<< "SET GLOBAL event_scheduler = ON;"