HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Developers' Forum (
-   -   IPSCFG Upgrade - persistent part of postfix (

Ben 26th April 2013 15:09

IPSCFG Upgrade - persistent part of postfix
Hi guys,

lately I updated my IPSCOnfig to the most recent version, with the effect I was generally aware of, but finally forogt about it, that it backups but recreates some config files.
In my special case, the, where I added some RBL filters, changed the TLS certificate files and some others.
And I also made this file a bit more human readable with some tabs and linebreaks :)

So the final question is, what is seen from the upgrade archtitecture a possible solution to detect differences between the current and the new file and e.g. prompt for action, like aptitude does.

I am aware of that things might get complicated it there was a change in the "native" config file ispconfig3 provided between a current and the upated version, when a parameter was additionally extended by an admin.

So my idea woul be to ask the user for what to do, then save the old file as backup, and explicitly NOT restarting the particular service. After the installation the admin gets presented a list with services not startet and config changes that need a manual review.
This would ensure that service do not start with a "broken" configuration, and to manually crawl through the diffs.

Any better suggestions?

All times are GMT +2. The time now is 15:34.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.