Subject: Re: [vserver] Conditional start
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Mon, 18 Aug 2008 02:46:46 +0200

On Sun, Aug 17, 2008 at 04:37:20AM +0200, Daniel Hokka Zakrisson wrote:
> 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

hmm, why not executable?

TIA,
Herbert

> met.
> 
> -- 
> Daniel Hokka Zakrisson