Support restart and reboot