Scott James Remnant
scott at netsplit.com
Thu Nov 6 17:38:33 GMT 2008
On Thu, 2008-11-06 at 18:14 +0100, Matthias Urlichs wrote:
> Scott James Remnant:
> > > e.g. I don't want to remove the rpm package, but I want all scripts
> > > with
> > > "/sbin/start service-xyz" to fail.
> > >
> > But *why* do you want that?
> One use case I can think of: Laptop on AC vs. on battery; laptop with
> vs. without TCP/IP connection. Adding a "which services do you want to
> run in which state" management interface to the network manager or
> the battery monitor makes somewhat more sense than doing the same thing
> to Samba, Apache, MySQL, ...
This is automatic enabling and disabling, and is solved in the 0.10
design, you'd just use a while state that specified either on AC power
only, or on battery only.
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
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/upstart-devel/attachments/20081106/f4f4e197/attachment-0001.pgp
More information about the upstart-devel