Re: [vserver] Vserver {Listen problem}

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

From: shuri_at_linuxfriends.wox.org
Date: Fri Jul 12 2002 - 14:51:36 EDT


Thanx a lot for the advice thoses wrapper work very well
you can do the same thing with proftpd
:)
>
> Here is two (2) wrapper for Webmin and Exim.
>
> Here a simple procedure using redhat ...
>
> - Create a file (like the following) on /etc/init.d . (webmin =
> /etc/init.d/v_webmin ...)
> - chkconfig --del webmin (disable the webmin startup)
> - chkconfig --level 345 v_webmin on
> - service webmin stop
> - service v_webmin start
>
> =====cut=====
> #!/bin/sh
> # chkconfig: - 55 25
> # description: Wrapper to start webmin bound to a single IP
> IP=eth0
> if [ -f /etc/vservices/webmin.conf ] ; then
> . /etc/vservices/webmin.conf
> fi
> exec /usr/sbin/chbind --ip $IP /etc/init.d/webmin $*
>
> =====cut=====
> #!/bin/sh
> # chkconfig: - 80 30
> # description: Wrapper to start exim bound to a single IP
> IP=10.1.0.3
> if [ -f /etc/vservices/exim.conf ] ; then
> . /etc/vservices/exim.conf
> fi
> exec /usr/sbin/chbind --ip $IP /etc/init.d/exim $*
>
> =====cut=====
>
> --
> Joel
>
>
>
>


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

This archive was generated by hypermail 2.1.4 : Mon Aug 19 2002 - 12:01:01 EDT