[SOLVED] Stop rules running during restart

I’m running Openhab 2.5M1 on a Raspberry Pi3.

During setup and testing I have come across several instances where restarting the Openhab service was needed

The problem I face is I have persistence via MapDB so as OPenhab loads most of my rules are triggered. This can cause lots of errors and strange behaviour due to the fact that not all items have been loaded yet.

Is there a way that I can stop any rules being triggered whilst Openhab is loading?

Thanks.

See here. Worked for me.

1 Like

@mark_leonard_tuil Thank you very much, works like a charm.