]> Pileus Git - ~andy/sunrise/blob - net-analyzer/symon/files/symon-syweb-setup.inc.patch
net-analyzer/symon: Improve patch comment about renaming the directories, while there...
[~andy/sunrise] / net-analyzer / symon / files / symon-syweb-setup.inc.patch
1 # Rename directories to reflect the changes from the ebuild and the
2 # configuration files.
3
4 --- syweb/htdocs/syweb/setup.inc.orig   2007-04-28 18:13:18.000000000 +0100
5 +++ syweb/htdocs/syweb/setup.inc        2007-04-28 18:14:25.000000000 +0100
6 @@ -32,11 +32,18 @@
7  $symon['layout_dir']='/var/www/symon';
8  */
9  
10 -/* running FreeBSD, apache not chrooted: */
11 +/* running FreeBSD, apache not chrooted:
12  $symon['rrdtool_path']='/usr/local/bin/rrdtool';
13  $symon['cache_dir']='/usr/local/www/symon/cache';
14  $symon['host_tree']='/usr/local/www/symon/rrds';
15  $symon['layout_dir']='/usr/local/www/symon';
16 +*/
17 +
18 +/* running Linux, apache not chrooted: */
19 +$symon['rrdtool_path']='/usr/bin/rrdtool';
20 +$symon['cache_dir']='/var/www/localhost/htdocs/symon/cache';
21 +$symon['host_tree']='/var/lib/symon/rrds';
22 +$symon['layout_dir']='/var/www/localhost/htdocs/symon/layouts';
23  
24  $symon['cache_duration']=20;
25  $symon['isolate_hosts']=1;