multiple instances of the same script?

Scott James Remnant scott at netsplit.com
Sat Mar 10 22:46:27 GMT 2007


On Sat, 2007-03-10 at 22:58 +0100, Matthias Urlichs wrote:

> Scott James Remnant:
> > I'm still not sure what you mean, sorry?  Could you explain a little
> > more?
> > 
> As an example, say you have a system service that's used to sync PDAs or
> whatever. That process needs to keep running as long as at least one PDA
> is plugged in, but it also needs to be told when you connect a second
> device.
> 
I'd say that the way to do this is to just use HAL.

Upstart gets the events from HAL telling it that the PDA has been
connected, and further events tell the running program that another PDA
has been connected.

Note that currently Upstart would stop the program when the first PDA
was removed, not the second -- that's something we'd need to address.

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/upstart-devel/attachments/20070310/1fb11e04/attachment.pgp 


More information about the upstart-devel mailing list