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

init.d script #22

Open
petabreads opened this issue Sep 29, 2016 · 2 comments
Open

init.d script #22

petabreads opened this issue Sep 29, 2016 · 2 comments

Comments

@petabreads
Copy link

petabreads commented Sep 29, 2016

Could someone write an quick init.d script to start this as a background service? I've been trying for hours but can't get past the virtualenv. I'm on centOS 7. Any help would be much appreciated.

@maximnewman
Copy link

Might this apply here?

python speedcomplainer.py > /dev/null &

@zarurc
Copy link

zarurc commented Dec 31, 2017

If your running on an RPI then you can use cron for that. Here is what I did:
cd /
crontab -e
at the end of the file add " @reboot cd /home/speedcomplainerDirectory && python speedcomplainer.py > /dev/null & "

(speedcomplainerDirectory should be changed to your speedcomplainer Directory)

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

3 participants