The service occurred a day after a shooting at a Sikh temple in Wisconsin in which six people were killed.