diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/zabbix-agent/zabbix-agent.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/zabbix-agent/zabbix-agent.xml b/config/zabbix-agent/zabbix-agent.xml index 54184b32..8a0e57cc 100644 --- a/config/zabbix-agent/zabbix-agent.xml +++ b/config/zabbix-agent/zabbix-agent.xml @@ -126,6 +126,7 @@ <custom_add_php_command></custom_add_php_command> <custom_php_resync_config_command> <![CDATA[ + conf_mount_rw(); global $config; global $g; @@ -147,6 +148,7 @@ $conf .= "Timeout=3\n"; file_put_contents("/usr/local/etc/zabbix/zabbix_agentd.conf", $conf); + conf_mount_ro(); ]]> </custom_php_resync_config_command> |