It is like a man, when departing on a journey and leaving his bais (house) and, having put his avadim (servants) in charge, each with his assigned avodah (work), gives orders to the gatekeeper to be shomer.