Since the one crashing is always the process that does the rendering, I created a script that launches a network master and a slave. Then it checks periodically for the slave, and launches it again if it's closed
It's my first script, so I don't know if it works correctly... I tested it closing the processes manually, and it seems to work
I don't assume any responsibility for the use of this script. Use it only if you know what you are doing
Feel free to improve it
Code: Select all
#!/bin/bash
cd ~/indigo/
wine indigo.exe -n m $1 &
sleep 5s
while true; do
ps axuw | grep -v grep | grep indigo.exe | grep 'n s' ||
(ps axuw | grep -v grep | grep indigo.exe | grep 'n m' &&
wine indigo.exe -n s $1 &)
sleep 5m
donecd ~/indigo/
to your indigo directory
it takes the scene name as a parameter
save the script somewhere and call it "indigo"
write in the terminal
sudo chmod 711 indigo
then you can launch it writing
. indigo scenename.xml
the scene file needs to be in your indigo directory
p.s. you can change the frequency of the checks by changing the line
sleep 5m
m -> minutes
s -> seconds