Shellcmd and running multiple daemon scrips
-
Hi,
I'm trying to run couple of python daemon scrips with the <shellcmd>which only seems to start the 1st scrip upon reboot.
Here is what my shellcmd utility shows:
/usr/local/bin/python /home/owl.py & echo "trying 1st scrip.." >> /home/log /usr/local/bin/python /home/responder.py & echo "trying 2nd scrip.." >> /home/log
It just executes line 1 above.
If i modify the same to :
echo "trying 1st scrip.." >> /home/log echo "trying 2nd scrip.." >> /home/log /usr/local/bin/python /home/owl.py & /usr/local/bin/python /home/responder.py &
It now executes till line 3 and starts owl.py and stops. What am I missing ?
should not matter but I've set the 1st line of both the scrips to:
#!/usr/local/bin/env python2.6</shellcmd> -
Are those four separate shellcmd tags, or is that a script being called by a single shellcmd?
You might try using nohup instead of &.