1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00

Init database at install, fix #28

This commit is contained in:
mbugeia 2016-07-23 17:37:17 +02:00
parent 8304519177
commit 97c8c53816

View file

@ -82,6 +82,9 @@ then
sudo sed -i "s/define('DISABLE_LOGOUT'.*$/define('DISABLE_LOGOUT', false);/g" ${DESTDIR}/config.php
fi
# Init database
ynh_mysql_connect_as "$dbuser" "$dbpass" "$dbname" < ${DESTDIR}/app/Schema/Sql/mysql.sql
# Reload services
sudo service php5-fpm restart || true
sudo service nginx reload || true