summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-07-04 07:32:16 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-07-04 07:32:16 +0000
commit3fb4929c80807ac6b451269918083178a9f4af4e (patch)
tree301991b5d5535b68e1aa124ffb16d7824ff859dc /etc/inc/pfsense-utils.inc
parent5b6210e381a55adc4f701b9e0f093434c72bbd95 (diff)
downloadpfsense-3fb4929c80807ac6b451269918083178a9f4af4e.zip
pfsense-3fb4929c80807ac6b451269918083178a9f4af4e.tar.gz
Make sure the owner and group is set correctly so apinger can write it's
configuration.
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 8bc788e..b4bab32 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -4183,6 +4183,8 @@ EOD;
sleep(3);
if(!is_process_running("apinger")) {
+ chown("{$g['vardb_path']}/rrd", "nobody");
+ chgrp("{$g['vardb_path']}/rrd", "nobody");
/* start a new apinger process */
mwexec_bg("/usr/local/sbin/apinger -c {$g['varetc_path']}/apinger.conf");
}
OpenPOWER on IntegriCloud