Looking for ways to get the server make a graceful restart,
I learned that
a) this requires an OS specific implementation
(some code already there, e.g. Windows service restart)
b) is something that users might want to forbid or
delay to low traffic times/days.
So, while the implementation should be in the mpm
the configurable part can be a core config or its
own small module.
What do you think of something like:
ServerRestartsWindow from - to
and some functions/hooks where modules may request a restart
at the next opportune time or do something before it is triggered.