cmbi / mrs

Maarten's Retrieval Service
Boost Software License 1.0
0 stars 3 forks source link

use while loop to make sure the deamon is always available #38

Closed cbaakman closed 7 years ago

jonblack commented 7 years ago

What problem is this fixing? Changing a bash script to look forever is probably not the right answer. I'm closing this pull-request. Can you instead make an issue describing the problem and we can discuss possible solutions.

cbaakman commented 7 years ago

The problem is that the deamon doesn't automatically restart whenever it throws an exception. This can leave the service unavailable for hours.

jonblack commented 7 years ago

I looked in the mrs logs and it's a segmentation fault, which is not the same as an uncaught exception. I'll create an issue for this. As for restarting the service, I'll be setting this up in docker soon.