Xymon Mailing List Archive search

Config files overwritten?

list Henrik Størner
Wed, 5 Oct 2005 17:14:52 +0200
Message-Id: <user-bd908e05f2a0@xymon.invalid>

On Wed, Oct 05, 2005 at 10:12:54AM -0400, Jeffcoat, Al wrote:
What happens to any configuration files that have been changed in the
$HOBBIT/server/etc directory if I do a make install to the same
location?  Are they overwritten, or reused?

I'm wanting to do an update to the RC1 from a previous snapshot, and am
curious if it will be that easy :)
"make install" does its best to do "the right thing". It won't touch
your bb-hosts, hobbit-alerts.cfg, hobbit-clients.cfg files; if tries to merge in added settings to the hobbitserver.cfg, hobbitcgi.cfg, hobbitgraph.cfg, hobbitlaunch.cfg and columndoc.csv files; and it only
updates your web/* templates and the www/menu/* files if they haven't been modified since Hobbit was installed.

In other words - as the cautious admin you are, you will of course make a rapid backup - tar cf /tmp/config.tar ~hobbit/server/etc - before running make install, but it really should just work :-)


Henrik