mirror of
https://github.com/YunoHost-Apps/zabbix_ynh.git
synced 2024-09-03 20:36:14 +02:00
store more information about db
This commit is contained in:
parent
e091651fd0
commit
df3ead4a8b
1 changed files with 2 additions and 0 deletions
|
@ -140,6 +140,8 @@ rm $final_path/conf/zabbix.conf.php
|
|||
db_name=$(ynh_sanitize_dbid $app)
|
||||
db_user=$db_name
|
||||
ynh_app_setting_set $app db_name $db_name
|
||||
ynh_app_setting_set $app db_user $db_user
|
||||
ynh_app_setting_set $app db_pwd $db_pwd
|
||||
ynh_mysql_setup_db $db_user $db_name
|
||||
|
||||
zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -u$db_user -p$db_pwd $db_name
|
||||
|
|
Loading…
Add table
Reference in a new issue