Configure collectd with a template file