aboutsummaryrefslogtreecommitdiffstats
path: root/config/zabbix-proxy/zabbix-proxy.xml
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-09-01 14:11:26 -0400
committerjim-p <jimp@pfsense.org>2010-09-01 14:11:26 -0400
commitc818365fd612cdab48b7be5500377eca43447b55 (patch)
treeb9c9374e55209d4461cfc447ed0c78a0a8f11bf5 /config/zabbix-proxy/zabbix-proxy.xml
parentaacc99916e8456809964f490e9490fbdd50c524b (diff)
downloadpfsense-packages-c818365fd612cdab48b7be5500377eca43447b55.tar.gz
pfsense-packages-c818365fd612cdab48b7be5500377eca43447b55.tar.bz2
pfsense-packages-c818365fd612cdab48b7be5500377eca43447b55.zip
Ensure write permissions on /var/run/zabbix and /var/log/zabbix
Diffstat (limited to 'config/zabbix-proxy/zabbix-proxy.xml')
-rw-r--r--config/zabbix-proxy/zabbix-proxy.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/zabbix-proxy/zabbix-proxy.xml b/config/zabbix-proxy/zabbix-proxy.xml
index 98f1c45d..b5a6a818 100644
--- a/config/zabbix-proxy/zabbix-proxy.xml
+++ b/config/zabbix-proxy/zabbix-proxy.xml
@@ -174,7 +174,8 @@
$lt[] = "{$wt}={$wv}";
}
file_put_contents("/boot/loader.conf", implode("\n", $lt) . "\n");
-
+ chmod("/var/log/zabbix", 0777);
+ chmod("/var/run/zabbix", 0777);
conf_mount_ro();
]]>