New profiles spec
Giuseppe Ciotta
gciotta at gmail.com
Sun Jun 3 14:27:00 BST 2007
On 6/1/07, Alex Smith <alex at alex-smith.me.uk> wrote:
> > /etc/init/profiles.d/no-x:
> > enable *
> > disable gdm
> > disable kdm
> > disable xdm
> > disable ldm
Hi,
I think packages should be able to deal with profiles at installation
time, Specifying jobs to {dis,en}able in a file makes adding/removing
of jobs painful.
An idea could be:
profiles/single/disable_all
profiles/single/enable/sh
profiles/no-x/enable_all
profiles/no-x/disable/gdm
profiles/no-x/disable/kdm
profiles/no-x/disable/wdm
Files could be empty of course.
Files named disable_all and enable_all have a special meaning.
I think it would be also nice to have the "provides" keyword in the
job definition, so one could use:
profiles/no-x/enable_all
profiles/no-x/disable/display_manager
What do you think?
SysVish? Yes, maybe.
More information about the upstart-devel
mailing list