What exactly did a k. u. k. Ratstürhüter do?
@A Xo He was a gatekeeper, guarding (hüten) the door (Tür). Rat is likely a council of some sort, such as a city council (Stadtrat).