Run shell script by rule to stop openhab and more

This sounds a bit related to Ensuring "CoAP Transport" is installed after openHAB upgrade.

I’m now away from home, but I notice my openHAB is now offline, after updating to 4.3.1.

I’m going to do some digging tomorrow, but I assume it keeps restarting openHAB before Coap is installed, failing the if clause after next restart etc. ad aeternam.

However, I think I changed the echo commands by mail commands, so I would expect my mailbox to get flooded… But no mails have arrived.