arek125 / remote-GPIO-control-server

Control GPIO ports via Android client or www app
MIT License
6 stars 3 forks source link

Can't autostart #1

Closed Budman1758 closed 7 years ago

Budman1758 commented 7 years ago

Program works fine from command line via ssh session. Cannot get it to autostart via rc.local though. Attached is a copy of my file. Any ideas?

The pikeyd program in the line above your programs funs fine.

rc.local.txt

I know this has to be pretty simple. Thanks for any help. Great program.

arek125 commented 7 years ago

First call python command and after that point path to server file. Try like this: python /home/pi/remote-GPIO-control-server/rgc-server1_1.py

Budman1758 commented 7 years ago

That seems to have done the trick! Thanks!

(facepalm) Now than I think about it that should have been pretty obvious.....