diff -Naur mailgraph-1.12/mailgraph.cgi mailgraph-1.12.oden/mailgraph.cgi --- mailgraph-1.12/mailgraph.cgi 2005-10-16 19:17:00.000000000 +0200 +++ mailgraph-1.12.oden/mailgraph.cgi 2006-04-28 09:54:41.000000000 +0200 @@ -15,9 +15,9 @@ my $points_per_sample = 3; my $ypoints = 160; my $ypoints_err = 96; -my $rrd = 'mailgraph.rrd'; # path to where the RRD database is -my $rrd_virus = 'mailgraph_virus.rrd'; # path to where the Virus RRD database is -my $tmp_dir = '/tmp/mailgraph'; # temporary directory where to store the images +my $rrd = '/var/lib/mailgraph/mailgraph.rrd'; # path to where the RRD database is +my $rrd_virus = '/var/lib/mailgraph/mailgraph_virus.rrd'; # path to where the Virus RRD database is +my $tmp_dir = '/var/cache/mailgraph'; # temporary directory where to store the images my @graphs = ( { title => 'Day Graphs', seconds => 3600*24, }, diff -Naur mailgraph-1.12/mailgraph.pl mailgraph-1.12.oden/mailgraph.pl --- mailgraph-1.12/mailgraph.pl 2005-10-16 19:16:59.000000000 +0200 +++ mailgraph-1.12.oden/mailgraph.pl 2006-04-28 09:58:24.000000000 +0200 @@ -298,9 +298,9 @@ my $xpoints = 540; my $points_per_sample = 3; -my $daemon_logfile = '/var/log/mailgraph.log'; -my $daemon_pidfile = '/var/run/mailgraph.pid'; -my $daemon_rrd_dir = '/var/log'; +my $daemon_logfile = '/var/log/mailgraph/mailgraph.log'; +my $daemon_pidfile = '/var/run/mailgraph/mailgraph.pid'; +my $daemon_rrd_dir = '/var/lib/mailgraph'; # global variables my $logfile;