make reboot work with service dependencies