Sentence:  Some stations were connected directly to the automatic fire alarms of important premises and to call boxes in the street which all had to be tested. So the role of <WSD>dutyman</WSD> was complicated and as he had to stay awake all night, this was called a wakeful watch. 
Meaning of the word marked with <WSD> tags:  A man who is on duty in a particular setting.