#!/sbin/runscript
#
# Copyright (c) 2006 Bradley Taylor, bradley@railsmachine.com
#
# Updated Oct 2006 by Russell Rollins for Gentoo compliance.
#
# mongrel_cluster Startup script for Mongrel clusters.
#
# chkconfig: - 85 15
# description: mongrel_cluster manages multiple Mongrel processes for use # behind a load balancer.
#
CONF_DIR=/etc/mongrel_cluster
RETVAL=0
depend() {
need net
}
start() {
ebegin "Starting Mongrel cluster"
/usr/bin/mongrel_cluster_ctl start -c ${CONF_DIR}
eend $?
}
stop() {
ebegin "Stopping Mongrel cluster"
/usr/bin/mongrel_cluster_ctl stop -c ${CONF_DIR}
eend $?
}
Tuesday, October 03, 2006
mongrel_cluster startup script for Gentoo
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment