absolutely not Natalie. They are not directly shot on sight. They are warned several times before, in Arabic (the soldiers learn phrases like: " This is a secured area, please leave emmediatly' and only if there is reallt resistance and they persist, the soldier is allowed to shoot, but only on the leg, Not allowed to target the rest of the body. Its what every soldier learns in the army, for guarding. So you are Wrong, very wrong.
EU's Mogherini in Tehran to talk nuclear deal, regional issues (Reuters)
from the article: 3 Lebanese soldiers, journalist killed in clash on Israel-Lebanon border