Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...
|
[SSI] openssi/openssi-tools/distro/debian ha-lvs.init,NONE,1.1: msg#00246
|
Subject: |
[SSI] openssi/openssi-tools/distro/debian ha-lvs.init,NONE,1.1 |
Update of /cvsroot/ssic-linux/openssi/openssi-tools/distro/debian
In directory sc8-pr-cvs1:/tmp/cvs-serv1826
Added Files:
ha-lvs.init
Log Message:
Fix /etc/init.d/ha-lvs for Redhat
Move ha-lvs.init file to distro specific directories
Remove installing an empty /etc/cvip.conf
Have the RC startup do nothing if there is no /etc/cvip.conf
--- NEW FILE: ha-lvs.init ---
#!/bin/sh
#
# Startup script for the SSI Ha-LVS
#
# pidfile: /var/run/ha-lvs.pid
# SSI_XXX: This file should be moved to /etc/sysconfig and maybe called ha-lvs
[ -f /etc/cvip.conf ] || exit 0
PID_FILE="/var/run/ha-lvs.pid"
case "$1" in
start)
echo -n "Starting SSI HA-LVS Service: "
# I need to make sure that IPVS module is loaded.
/sbin/ipvsadm --clear >/dev/null 2>&1
/usr/sbin/ha-lvs
setport_weight --start-port=23 --end-port=23 --weight=1
echo
;;
stop)
echo -n "Shutting down SSI HA-LVS Service: "
PID=`cat $PID_FILE`
kill -9 $PID
echo
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
|
| |