Skip to main content

RI Reboot

2 replies [Last post]
xrymens
Offline
Joined: 2010-07-29
Points: 0

Hi,

Can RI support reboot functionality.
For example if I call Host.getInstance().reboot(), RI goes down but never comes up.
I wanted to know if there is a way to bring up RI from code.

Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
greg80303
Offline
Joined: 2008-07-03
Points: 0

On the RI PC Platform, Host.reboot() just terminates the RI process on your Windows or Linux PC -- so no, it doesn't actually do a reboot. However, you could write a script that just runs the process in a loop -- if the process exits, it will just start up again, similar to a reboot.

G

mkorzen
Offline
Joined: 2008-03-05
Points: 0

Alternatively, you can issue the following command:
./runRI.sh -ate

This puts the RI into an automated test mode, which automatically restarts the RI process upon termination.