PLDWWW: Vserver
adamg
adamg at pld-linux.org
Mon Jan 29 21:32:47 CET 2007
Author: adamg Date: Mon Jan 29 20:32:47 2007 GMT
Module: PLDWWW URL: http://www.pld-linux.org/Vserver
---- Log message:
---- Page affected: Vserver
---- Diffs:
================================================================
=== vservers startup order ===
Sometimes it may happen that you need to be sure that one of the vservers is started before the others - e.g. it provides some service that other depend on. Vserver provides an easy way to do this - let's assume that ''test2'' vserver depends on ''test'' and ''foo'' vservers:
{{{
- # echo test >> /etc/vservers/test/apps/init/depends
+ # echo test >> /etc/vservers/test2/apps/init/depends
- # echo foo >> /etc/vservers/test/apps/init/depends
+ # echo foo >> /etc/vservers/test2/apps/init/depends
}}}
At shutdown, the ''test2'' vserver will be stopped before its dependencies.
{{{
More information about the pld-cvs-commit
mailing list