Hello Itxaka, Thanks for the valuable suggestions. We will try that. Thanks, Mark From: Itxaka Serrano Garcia <itxaka.garcia@xxxxxxxxxxxxxxxx>
In that case, why not use the timeout stuff from the services? You could probably override the service to set a timeout for its running with [Unit] JobTimeoutAction=reboot-force So after starting you get up to 5 minutes of it running and then it should reboot. Probably the JobTimeoutAction is not needed as I'm sure it will reboot if the emergency.service
fails, but better safe than sorry :) That gives you the best of both worlds. You get some time to debug and if not it will auto reboot after a bit and maybe fix itself :D On Wed, Jun 12, 2024 at 2:21 AM
Mark Zhang (NSB) <mark.zhang@xxxxxxxxxxxxxxx> wrote:
|