View Single Post
Posts: 299 | Thanked: 557 times | Joined on Aug 2012
#3427
Originally Posted by knobtviker View Post
-*- About the autostart daemon:
Be very careful with that. It could end up in an endless loop of crashing and starting. What then? It's a nice features, but only once the app is stable enough to support it.
Hello,

that's not exactly right.

Code:
# if application exits, restart it (optional)
respawn

# restart max 3 times withing 300 secs (optional, you need respawn defined)
respawn limit 3 300
There is an option to prevent respawning, take a look here: http://harmattan-dev.nokia.com/docs/...g_daemons.html

However I added some clarification to my original post just so people are aware what they are getting into.

Last edited by brkn; 2012-09-01 at 09:52.
 

The Following User Says Thank You to brkn For This Useful Post: