upstart configuration

Riku Voipio riku.voipio at movial.fi
Fri Nov 7 14:25:11 GMT 2008


Scott James Remnant wrote:
> On Thu, 2008-11-06 at 15:35 +0100, Harald Hoyer wrote:
>
>   
>> 	- turning a job/service off requires removing the job file, which may be solved 
>> by symlinks?
>>
>>     
> Again an ongoing discussion: what ideas do you have?
>
> Do you want to disable it from automatic starting, or prevent manual
> starting as well?
>   

I'm not sure if this the exact same issue we are having here, but I am 
currently
banging my head how to describe our systems with events. The dream:

emit "offline" -> all network/radio interface based daemons stop.
Easy, just add "stop on offline" to network stuff.

Now a many of daemons need dbus. Adding "start on starting foo"
of all dbus-needing daemons to dbus stanza does not really scale. Hence
instead the daemons have "start on started dbus".

The problem arrives when one wants to _boot_ into offline mode. The normal
boot routine will start dbus, and then all the network-hungry daemons. There
seems to be no easy way to convince upstart to start only a selection of
"start on started dbus" daemons.







More information about the upstart-devel mailing list