Able-bodied males were required to work , so from 1940 to 1944 Wojtyła variously worked as a messenger for a restaurant , a manual labourer in a limestone quarry and for the Solvay chemical factory , to avoid deportation to Germany .
From 1940 to 1944 , Wojtyła worked in a restaurant .