Fix up templates to output correctly.
Restart services when the configs change.