Jump to content

Make Installs Overwrites Config File


Vapula

Recommended Posts

I think that make install should either make a backup of the previous files (realmd.conf.old for example) before overwritting it, install the new file as .new (realmd.conf.new) or, even better, grab old config values and put them in the new config file.

The first two options are the easiest to add, the tird one would be the best one but the most difficult.

Link to comment
Share on other sites

Or write a script that looks like this:

#!/bin/bash
make install
cp -r /path/to/etc/backup /path/to/servers/etc/directory

And you're all good. Linux gives you powerful scripting possibilities, try to use them to make your life easier (at least faster).

Link to comment
Share on other sites

or dont use mangosd.conf.... using original is just silly when you knwo its gonna get overwritten. use a custom file with the -c option.

./mangos-worldd -c /path/to/mymangosd.conf

obviously you will rename your copy and refer to that in the above line, and voila no more overwritten conf files.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use