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:
parent
8304519177
commit
97c8c53816
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue