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
|
||||
|
||||
if [ -d /etc/zabbix/zabbix_agentd.d/ ];then
|
||||
mv /etc/zabbix/zabbix_agentd.d/ /etc/zabbix/zabbix_agentd.conf.d/
|
||||
if [ -d /etc/zabbix/zabbix_agentd.d ];then
|
||||
mv /etc/zabbix/zabbix_agentd.d /etc/zabbix/zabbix_agentd.conf.d
|
||||
fi
|
||||
if [ ! -L /etc/zabbix/zabbix_agentd.d/ ];then
|
||||
ln -s /etc/zabbix/zabbix_agentd.d/ /etc/zabbix/zabbix_agentd.conf.d/
|
||||
if [ ! -L /etc/zabbix/zabbix_agentd.d ];then
|
||||
ln -s /etc/zabbix/zabbix_agentd.d /etc/zabbix/zabbix_agentd.conf.d
|
||||
fi
|
||||
|
||||
cp "$confUserPpath" /etc/zabbix/zabbix_agentd.d/userP_yunohost.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue