[systemd-devel] Services enabled by default?
Bill Nottingham
notting at redhat.com
Mon Sep 20 08:52:19 PDT 2010
Gustavo Sverzut Barbieri (barbieri at profusion.mobi) said:
> > Or, conversely, why not enable 12 by default?
>
> :-) Because when you add a link at "make install", you have to remove
> it. If you add it manually, it will not be removed. So what happens
> is that people that just use one for rescue ends with 6 after every
> make install... if you added +6 to have 12, you still have your system
> set fine.
Well, there are a variety of ways to do this. You could set up some
number automatically, and then haggle over the number, leaving the admin
to add or remove symlinks where they feel necessary. You could instead have
a generator service (as '@' services can be instantiated at runtime without
links/files) that reads how many to start from a config file, but then you
have to invent a config file to use for it.
Bill
More information about the systemd-devel
mailing list