james-atkinson / speedcomplainer

A python app that will test your internet connection and then complain to your service provider (and log to a data store if you'd like)
509 stars 106 forks source link

init.d script #22

Open petabreads opened 8 years ago

petabreads commented 8 years ago

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 commented 7 years ago

Might this apply here?

python speedcomplainer.py > /dev/null &

zarurc commented 6 years ago

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)