Comment 34 for bug 1274456

Revision history for this message
Jussi (jussi-lahtinen-gmail) wrote : Re: [Bug 1274456] Re: BOINC is always suspended, if set to work when IDLE

Yes, sleep commands are ignored. And in fact init scripts are read in
strict order and thus probably not executed parallel. I made boinc's init
script to start last, but it starts apparently still too soon.

So, how about writing UpStart script for Linux desktops?
http://buddylindsey.com/getting-started-with-and-understanding-upstart-scripts-on-ubuntu/
http://geeknme.wordpress.com/2009/10/15/getting-started-with-upstart-in-ubuntu/
http://upstart.ubuntu.com/cookbook/

Maybe we could make boinc start when xserver lays lock file? IE boinc would
start when /tmp/.X11-unix/X0 would appear.
Better ideas?

This would happen with line:
start on file FILE=/tmp/.X11-unix/X0 EVENT=create

UpStart scripts are in /etc/init/*.conf.