Looking for a way to programmatically restart the indigo server. Not the mac, but just the equivalent of doing a server shutdown and restart, but unattended.
When my network goes into WAN failover, all the existing network connections are severed. Most plugins get hung up on this. Even the reflector client gets snagged until it restarts itself. Some are able to gracefully re-connect, others endlessly complain about not being able to connect to things (even LAN hosts). Command line shows that everything is indeed accessible.
The most reliable solution is just to shut down the server process and restart it (via the indigo gui), which cleans everything out and reloads all plugins. How do we accomplish this via indigo script/api or macOS command line functions?
I tried just sending a sigterm, waiting a bit for it to gracefully shutdown (which is does nicely) and reload? But it complains that it can't find the client. What's the full command line to reload it so that it behaves like the client initiated it?