Autophagy is initiated when stresses such as starvation and infection increase AMPK activity, which inactivates the mechanistic target of rapamycin complex (mTOR). Here, MTOR is linked to infection.