The portion of any such street or public place, as is referred to in section 17, and any openings or obstructions which might be a source of danger to the public shall be indicated by red lights, which shall be kept alight from sunset until sunrise, placed so as to be clearly visible from all directions, at intervals not exceeding 6 metres, and of sufficient intensity to give adequate warning to traffic both vehicular and pedestrian.