Project

General

Profile

« Previous | Next » 

Revision fd4b88d1

Added by Seth Mos almost 17 years ago

Set permissions correctly so apinger can write the rrd files

View differences:

etc/inc/gwlb.inc
163 163
		if (is_dir("{$g['tmp_path']}"))
164 164
			chmod("{$g['tmp_path']}", 01777);
165 165
		if (is_dir("{$g['vardb_path']}/rrd"))
166
			chgrp("{$g['vardb_path']}/rrd", "nobody");
166
			chown("{$g['vardb_path']}/rrd", "nobody");
167 167
		/* start a new apinger process */
168 168
		mwexec_bg("/usr/local/sbin/apinger -c {$g['varetc_path']}/apinger.conf");
169 169
	}

Also available in: Unified diff