From: Enrico Scholz (enrico.scholz_at_informatik.tu-chemnitz.de)
Date: Tue 05 Aug 2003 - 01:05:37 BST
Hello,
I added support for the minit[1] initconcept to the vserver script. Using
this concept, a 'vserver ... restart' for a simple vserver (e.g. ftp) will
need only 5 seconds. Beside the improved startup/shutdown performance, the
services are much more reliable than their musty SysV counterparts.
The patch is available at
http://www.tu-chemnitz.de/~ensc/vserver/vserver-0.23-minit.patch
On the vserver, minit itself and a service which knows about the
var/run/minit-stop synchronization mechanism and the minit-start/stop
scripts is required. SRPM packages[2] for RHL9/Severn can be found at
http://www.tu-chemnitz.de/~ensc/fedora/minit-0.9.1-0.fdr.1.src.rpm
http://www.tu-chemnitz.de/~ensc/fedora/minit-setup-0.5-0.fdr.1.src.rpm
After building and installing the packages, you will have to execute
| # echo 'stop/VSERVER' >>/etc/minit/ctrlaltdel/depends
on the vserver also.
Enrico
Footnotes:
[1] http://www.fefe.de/minit/
[2] feel free to put your comments into
https://bugzilla.fedora.us/show_bug.cgi?id=559 and
https://bugzilla.fedora.us/show_bug.cgi?id=560