Hi,
Forgive me if I'm missing something obvious. I've built a remote solar powered weatherstation. It runs Python script at startup using a Start-Stop-Damon as described here :http://blog.scphillips.com/posts/2013/0 ... e-on-boot/
I've installed the service as described using "sudo update-rc.d" and it works great. However it crashes occasionally if it can't make a network connection. I currently use a CRON task to restart the service every 2 hours to manage this. (in event of a crash it will re-start in <2hrs). Ideally I'd like it to automatically start if it crashed.
Is it possible to so this with a init.d script?