Eric,

Alternative instructions for those using a system like RedHat:

 1. create a symlink from /usr/local/java to your java installation
 2. create a symlink from /opt/james to your james installation
 3. add the script file (below) to /etc/rc.d/init.d
 4. run "chkconfig --add james"

You have to make sure that the script has the right permissions, and line
endings.

        --- Noel

#!/bin/sh
# Startup script for James Mail server
#
# chkconfig: 345 95 92
# description: Run James Mail server
# processname: james
# Source function library.
. /etc/rc.d/init.d/functions

[ -f /opt/james/bin/phoenix.sh ] || exit 0

case "$1" in
  start)
        echo -n "Starting James Mail Server: "
        export JAVA_HOME=/usr/local/java
      /opt/james/bin/phoenix.sh start
        echo
        ;;

  stop)
       echo -n "Shutting down James Mail Server "
       /opt/james/bin/phoenix.sh stop
       echo
       ;;

  restart)
       echo -n "Restarting James Mail Server "
       /opt/james/bin/phoenix.sh restart
       echo
       ;;

  *)
       echo "Usage: $0 {start|stop|restart}"
       exit 1
esac

exit 0


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

Reply via email to