> >> > 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.
> >>
> >
> > It seems that "script" here means "bash" only (?).
> > At least, I tried with a Perl script, and got this message:
>
> If you don't want to use bash, make the script executable. It should still do the
right
> thing, it's just not as obvious as if it's not executable :-)
OK; making the script executable, it works fine now.
But I still haven't understood why you previously insisted that it should
NOT be executable...
Thanks,
Gilles