[BlueOnyx:07695] Re: vsite suspend from command line
Michael Stauber
mstauber at blueonyx.it
Mon Jul 18 12:49:57 -05 2011
Hi Frank,
> I've wrote a small script to create/delete a vhost from command line
> using caddvsite and cdelvsite, but I can't find how to suspend a vhost
> from command line.
Indeed. I just checked and the shell-tools ("cmodvsite") don't have a
provision to suspend or unsuspend a site. Likewise, I recently re-discovered
that the provision to set the quota for a site isn't implemented either. In
fact that was mentioned some time ago on this list, but I then forgot about
it.
> I've seen /usr/sausalito/handlers/base/vsite/suspend.pl, but not sure
> that's usable and I don't know how to use it.
No, that's a handler. It's not designed to be run on its own. It could be
modified to do what you want, but it'll not be worth the effort.
I'll rework the shell-tools instead to add the missing options for
suspend/unsuspend and quota.
--
With best regards
Michael Stauber
More information about the Blueonyx
mailing list