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.
Scott -- Have you ever, ever felt like this? Had strange things happen? Are you going round the twist?
signature.asc
Description: This is a digitally signed message part
-- upstart-devel mailing list upstart-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel