Hello all,
I am struggling to make the pagekite.py script to run at startup. Since I want to use this nice tool on a Linkit Duo microcompter with OpenWrt os it's hard to find any tutorial on how it should be done.
I am able to run the python script manually without any problem but when I add the script in rc.local nothing happens. I saw on site that there is a tutorial for raspberry pi but in my case is not applicable.
Please give me a little help.
Thannks in advance.
Comments
I created a file in /home/pi called "startupscript.sh" containing the following:
#! /bin/sh
python pagekite.py --clean --frontend=DOMAIN:PORT --service_on=http:DOMAIN:localhost:PORT:SECRET
I then just entered the following in Pi's crontab:
@reboot /home/pi/startupscript.sh
It's not a perfect solution by any means, but it seems to actually work!