Restart avahi service when adding new templates