akashic-storage icon indicating copy to clipboard operation
akashic-storage copied to clipboard

Automatic reboot after shutdown due to fatal error

Open akiradeveloper opened this issue 9 years ago • 1 comments

When fatal error occurs, JVM kills itself (this is configurable but it shouldn't be disabled).

When akashic-storage is in production it shouldn't be stopped for a long time then it should restart automatically. Rebooting only needs binding to the port. It's quick.

akiradeveloper avatar Apr 06 '16 05:04 akiradeveloper

The easiest way to do this is making a daemon watching service status and when it's not running start it. the daemon should run outside the JVM akashic-storage daemon is running on.

When user really want to stop the storage, he should first stop the watching daemon and then storage daemon.

akiradeveloper avatar Apr 06 '16 05:04 akiradeveloper