Maran wrote that the main thing is like those who permit, but it is good that the mashgiach light the fire after the pot is placed, which helps even according to the Shulchan Aruch. It is permitted to tell a non-Jew on Shabbat to cook for a sick person who is not in danger, as the Rambam wrote.