About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Wed 28 Sep 2005 - 14:26:04 BST


On Wed, Sep 28, 2005 at 01:33:02PM +0200, Xavier Montagutelli wrote:
> On Wednesday 28 September 2005 12:51, Gebhardt Thomas wrote:
> > Hi,
> >
> > seems to be a trivial question. But I scanned the big flower
> > page and found nothing:
> >
> > How do I say "ONBOOT=yes/no" within the new
> > configuration scheme?
>
> You can use the "mark" to start your vservers during the host boot
> process.
>
> The mark of a a given vserver is written in the file
> /etc/vservers/<vs>/apps/init/mark (Cf flower page).
>
> By default, the init script "/etc/init.d/vservers-default" starts
> vservers with the mark "default" (don't forget to make chkconfig --add
> or update-rc.d if needed). You can write other init scripts (e.g.
> vservers-foo) and change the mark (MARK=foo) inside them, in order to
> start vservers marked "foo". Playing with the start and stop levels of
> such scripts, you can start and stop groups of vservers in distinct
> order (e.g. start a vserver with a database before the one using the
> database).
>
> So I suppose that by default, a vserver with no mark, or a mark
> different from "default", won't be started (<=> ONBOOT=no).

yep, also it should be quite easy to copy the
existing start script /etc/init.d/vservers-default
and make a second version (e.g. vservers-special)
which can use a different mark "special" which
allows for different runlevel settings ...
(just an inspiration :)

best,
Herbert

> --
> Xavier Montagutelli
> Service Commun Informatique
> Universite de Limoges
> Tel : +33 555457720
> Cle GPG : http://pgp.mit.edu 1024D/175CE198
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 28 Sep 2005 - 14:26:25 BST by hypermail 2.1.3