Revision 21934843
Added by Jim Pingle almost 15 years ago
etc/inc/gwlb.inc | ||
---|---|---|
243 | 243 |
killbypid("{$g['varrun_path']}/apinger.pid"); |
244 | 244 |
if (is_dir("{$g['tmp_path']}")) |
245 | 245 |
chmod("{$g['tmp_path']}", 01777); |
246 |
if (!is_dir("{$g['vardb_path']}/rrd")) { |
|
247 |
mkdir("{$g['vardb_path']}/rrd", 0775); |
|
248 |
} |
|
246 | 249 |
if (is_dir("{$g['vardb_path']}/rrd")) |
247 | 250 |
chown("{$g['vardb_path']}/rrd", "nobody"); |
248 | 251 |
/* start a new apinger process */ |
Also available in: Unified diff
Make sure that the RRD path exists before apinger is started. Should really fix quality graphs on NanoBSD.