PcToll2 positively regulates the expression of antimicrobial peptides by promoting PcATF4 translocation into the nucleus.