OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Starting ospi.py automatically Re: Re: Starting ospi.py automatically

#24709

Michael
Member

Any reason nobody is suggesting adding a “&” after they start the python script in RC?local?

I start it like this…

/usr/bin/python ospi.py $host$port &

That way it is sent to the background and rc.local gets to actually terminate. This is key since I also have a script that checks my wireless connection every five minutes to make sure it is up. I run that from rc.local also with a & ..