mirror of
https://github.com/YunoHost-Apps/zabbix_ynh.git
synced 2024-09-03 20:36:14 +02:00
update sym link conf
This commit is contained in:
parent
9f3578ac8c
commit
2169449f69
1 changed files with 4 additions and 4 deletions
|
@ -71,11 +71,11 @@ import_template(){
|
||||||
|
|
||||||
cp "$sudoUserPpath" /etc/sudoers.d/zabbix
|
cp "$sudoUserPpath" /etc/sudoers.d/zabbix
|
||||||
|
|
||||||
if [ -d /etc/zabbix/zabbix_agentd.d/ ];then
|
if [ -d /etc/zabbix/zabbix_agentd.d ];then
|
||||||
mv /etc/zabbix/zabbix_agentd.d/ /etc/zabbix/zabbix_agentd.conf.d/
|
mv /etc/zabbix/zabbix_agentd.d /etc/zabbix/zabbix_agentd.conf.d
|
||||||
fi
|
fi
|
||||||
if [ ! -L /etc/zabbix/zabbix_agentd.d/ ];then
|
if [ ! -L /etc/zabbix/zabbix_agentd.d ];then
|
||||||
ln -s /etc/zabbix/zabbix_agentd.d/ /etc/zabbix/zabbix_agentd.conf.d/
|
ln -s /etc/zabbix/zabbix_agentd.d /etc/zabbix/zabbix_agentd.conf.d
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp "$confUserPpath" /etc/zabbix/zabbix_agentd.d/userP_yunohost.conf
|
cp "$confUserPpath" /etc/zabbix/zabbix_agentd.d/userP_yunohost.conf
|
||||||
|
|
Loading…
Add table
Reference in a new issue