About this list Date view Thread view Subject view Author view Attachment view

From: Martin List-Petersen (martin_at_list-petersen.dk)
Date: Sat 05 Apr 2003 - 11:44:16 BST


On Sat, 2003-04-05 at 05:38, Herbert Poetzl wrote:
>
> Hi Jack!
>
> would it hurt to change the
>
> if [ $# != 2 ] ; then
>
> line in vserver/chkconfig to
>
> if [ $# != 2 -a ! -x /vservers/$VSERVER/sbin/chkconfig ] ; then
>
> so that
>
> vserver <name> chkconfig --list [<name>]
> vserver <name> chkconfig --add <name>
> vserver <name> chkconfig --del <name>
>
> would show the current service configuration and
> add/remove services on systems using chkconfig anyway?
>

I don't know if hardcoding the "/vservers" path is a good idea, since it
is configurable in /etc/vserver.conf (option VSERVERS_ROOT). This
applies at least for the Debian packages of the vserver software,
haven't checked for the original tar-ball yet.

-- 
Regards,
Martin List-Petersen
martin at list-petersen dot dk
--
The question of whether computers can think is just like the question of
whether submarines can swim.
		-- Edsger W. Dijkstra



About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 05 Apr 2003 - 13:08:33 BST by hypermail 2.1.3