From b6568d83460fef7dd0efad9a4a115fb29a04d265 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Wed, 22 Dec 2004 16:09:03 +0000 Subject: [PATCH] moved the default upgrade backup location and the default log file location --- docs/gotcha.txt | 6 ++++++ etc/WebGUI.conf.original | 2 +- sbin/upgrade.pl | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/gotcha.txt b/docs/gotcha.txt index 29c580228..518f1308a 100644 --- a/docs/gotcha.txt +++ b/docs/gotcha.txt @@ -43,6 +43,12 @@ save you many hours of grief. changed significantly enough that automatic migration of them is not possible. + * The recommended default location for the WebGUI log is now + /var/log/webgui.log instead of /data/webgui.log + + * The default path for WebGUI backups is now /tmp/backups rather than + /data/backups + 6.2.8 -------------------------------------------------------------------- diff --git a/etc/WebGUI.conf.original b/etc/WebGUI.conf.original index e912febb3..1bbf87ecf 100644 --- a/etc/WebGUI.conf.original +++ b/etc/WebGUI.conf.original @@ -4,7 +4,7 @@ dsn = DBI:mysql:www_example_com dbuser = webgui dbpass = password -logfile = /data/webgui.log +logfile = /var/log/webgui.log extrasURL = /extras extrasPath = /data/WebGUI/www/extras diff --git a/sbin/upgrade.pl b/sbin/upgrade.pl index fbf0b5911..dfa83ac9e 100644 --- a/sbin/upgrade.pl +++ b/sbin/upgrade.pl @@ -30,7 +30,7 @@ my $override; my $quiet; my $mysql = "/usr/bin/mysql"; my $mysqldump = "/usr/bin/mysqldump"; -my $backupDir = "/data/backups"; +my $backupDir = "/tmp/backups"; my $skipBackup; my $doit;