A Chicago suburb has signed a contract with a private security firm to help provide patrols amid an ongoing police shortage.