format error in template
properly define and reload/restart services as required