I am using the scheduler shutdown procedure script function to close my observatory roof. For this purpose I have implemented a simple bash script that is calling via ssh another script on raspi. The raspi is closing a contact and by that the garagedoor motor closes the roof. So far so simple.
I am not using the indi library but just 2 scrpits and it works.
What I however observe is that after the shutdown procedure script completes the indi server has stopped (crashed ? don't know yet) leaving the devices connected. Meaning when I restart Indi the device are connected.
Don't know if this is a bug are not expected behavior because shutdown procedure script expects the usage of the indi library.
AFTER shutdown procedure is successfully executed then INDI server is shutdown (if local) and Ekos is stopped. I think I'll make this part configurable as well.
EDIT: Nope I was wrong, it is executed before the shutdown script. Will move it after shutdown script and make it configurable.
My INDI server is not local but remote on a raspi and EKOS is still runnig, so I expect that something is going wrong with the bash script within EKOS/INDI? However the script works and the roof is closing.