-alertnotify=<cmd> Execute command when a relevant alert is received or we see a really long fork (%s in cmd is replaced by message)
How to stop Bitcoin Core on a really long fork?-alertnotify=stop?-alertnotify="bitcoin-cli stop"?
-alertnotify=stop
-alertnotify="bitcoin-cli stop"