mirror of
https://github.com/YunoHost-Apps/zabbix_ynh.git
synced 2024-09-03 20:36:14 +02:00
Update install cp --remove-destination "$confServerPath" /usr/share/zabbix/conf/zabbix.conf.php
This commit is contained in:
parent
dfc83c6353
commit
c9ac5a600b
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ systemctl reload nginx
|
|||
ynh_script_progression -m "Generate zabbix config files" -w 5
|
||||
|
||||
confServerPath=$(find /var/cache/yunohost/ -name "usr_share_zabbix_conf_zabbix.conf.php")
|
||||
cp "$confServerPath" /usr/share/zabbix/conf/zabbix.conf.php
|
||||
cp --remove-destination "$confServerPath" /usr/share/zabbix/conf/zabbix.conf.php
|
||||
ynh_replace_string --match_string="db_name" --replace_string="$db_name" --target_file=/usr/share/zabbix/conf/zabbix.conf.php
|
||||
ynh_replace_string --match_string="db_user" --replace_string="$db_user" --target_file=/usr/share/zabbix/conf/zabbix.conf.php
|
||||
ynh_replace_string --match_string="db_pwd" --replace_string="$db_pwd" --target_file=/usr/share/zabbix/conf/zabbix.conf.php
|
||||
|
|
Loading…
Add table
Reference in a new issue