Subject: Re: [vserver] Conditional start
From: "Daniel Hokka Zakrisson" <daniel@hozac.com>
Date: Sun, 17 Aug 2008 04:37:20 +0200 (CEST)

Gilles Sadowski wrote:
> Hello.
>
> How can make it so that "vserver <vsname> start" checks that some condition
> is fulfilled before actually starting the vserver?

Put a script in /etc/vservers/<guest>/scripts/initialize.d/<whatever>, make sure it's
not executable, and exit 1 if your conditions are not met.

-- 
Daniel Hokka Zakrisson