restart wm_api on reboot