Add ability to define a custom Apache restart command.

Address feature request #2150131.