My PiFace controls a wood pellet stove via domoticz, and during domotics restart, the PiFace output relays are reset to open regardless of their current state just before domoticz retart. Because the stove has very long (about 1hr) start/stop cycles, this PiFace reset to open causes very long disruptions in temperature regulation (as well as extra watt consumption & wear on the stove ignition heating device).
Would there be any way to make output relay states persistent between domoticz restarts ?
I have eyeballed the PiFace.cpp and I must admit the complexity is well beyond my limited C++ skills

Any help would be most appreciated as my newly installed domoticz system is otherwise exactly what I've been needing for years (replacing some feeble home-made python and Perl scripts).
Should you be curious about why the PiFace needs to be made domoticz restarts proof, well for some unknown reason the domoticz web interface regularly freezes (the domoticz daemon still runs fine in background as shown by the logs, including the all important dZevents that run the stove), after which only a "service domotics stop/start" is capable of restoring web access (automated with a cron job testing the web availability).
Many thanks, Pascal