Santosh wrote:
I was looking for the script by ejbsolutions for running james as a
service. Url in the Wiki <http://wiki.apache.org/james/RunAsService>   -
http://www.ejbsolutions.com/products/obox/community/ch20.html seems to
be down. If you have it, please send it to me. Thanks, Santosh.

# cat /etc/rc.d/init.d/phoenix
----------------------------
#!/bin/sh
# Startup script for anacron
#
# chkconfig: 3 80 20
# description: Run cron jobs that were left out due to downtime

# Source function library.
. /etc/rc.d/init.d/functions

[ -f /usr/local/james-2.3.0a3/bin/phoenix.sh ] || exit 0

/usr/local/james-2.3.0a3/bin/phoenix.sh $1




On redhat/fedora system you can install this using "chkconfig --add phoenix"


Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to