Handle restart by using appmgr, appmgr_config should configure based on sudo_user