Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I run it at startup? #22

Open
martinb07 opened this issue Mar 19, 2018 · 1 comment
Open

How can I run it at startup? #22

martinb07 opened this issue Mar 19, 2018 · 1 comment

Comments

@martinb07
Copy link

martinb07 commented Mar 19, 2018

Hi
How can I run the script on startup?

Thanks.
Martin

@masterxq
Copy link

It needs a stdin stream.
You can start it with /etc/local if this file exists on your system:

sleep 99999999 | python relay.py ... &> /tmp/cam.log &

the sleep command is a simple hack to provide a stdin stream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants