left header graphic The Network People
Solutions for Hosting Providers
right header graphic

upgrade Mail::Toaster home : internet : mail : toaster : upgrade : update config files upgrade FreeBSD

Update Toaster config files

  • cd /usr/local/etc
  • sdiff -o tmp toaster-watcher.conf toaster-watcher.conf-dist
  • mv tmp toaster-watcher.conf
  • sdiff -o tmp toaster.conf toaster.conf-dist
  • mv tmp toaster.conf
  • sdiff -o tmp pkgtools.conf pkgtools.conf-dist
  • mv tmp pkgtools.conf
  • toaster-watcher.pl

Make your .conf files resemble the -dist files, with your local customizations. If the CVS id string at the top of the file(s) has changed, that's a good indication that new settings have been added and it's time to update your file. Use sdiff to merge the differences and create a new file.

If pkgtools.conf-dist does not exist in /usr/local/etc, copy it there from the Mail::Toaster/contrib directory. If you have made customizations to toaster-watcher.conf, make sure they are reflected in pkgtools.conf.

If you aren't familiar with sdiff, you might want to read the man page for it. Essentially, it shows you both files and you choose which parts you wish to have in your new file. There's nothing magic about it, if you have some other tool you'd prefer to use, then by all means do so.

Use 'perldoc toaster.conf' or 'perldoc toaster-watcher.conf' to read the man pages with extensive documentation describing what all them settings are for.


Last modified on 6/10/05.


web this site