Fix name of ejabberd config file.
Use a template to configure sane ejabberd defaults.