Revert "Drop the old disable services hook."

This reverts commit e888781037aedd22bb00bfb3ec28281d6f17b8c2.