Hey Hillel, I think you can do it with the supplied phoenix.sh script. Though it's doesn't work really well with the chkconfig so you have to add some comments to it like so:
#chkconfig: 2345 80 05 #description: James Mail Server then make a symbolic link in the /etc/init.d/ directory: cd /etc/init.d/ ln -s /path/to/james/bin/phoenix.sh james Then test it: ./james console then add it as a service: chkconfig --add james I just did this myself and I had some problems with james not having the JAVA_HOME variable set at boot time so you might run into something like that yourself. The phoenix.sh also doesn't support the status command so the status window prints an error message in the services manager but that's not a big deal since start and stop work ok. Good luck, Ian 2007/9/30, Hillel <[EMAIL PROTECTED]>: > Hi, > > Does anyone have a script that they are prepared to share so we can run > James as a service on Redhat Linux to enable us to start/stop James using > the service commands. > So then to start James you would type: service james start > To stop James you would type: service james stop > > And so on, you can also link it to the Linux services and when the server > starts it will start James and when it stops it will take down James. > > Thanks > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Ian Lewis [EMAIL PROTECTED] http://www.ianlewis.org/ http://jsxe.sourceforge.net --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
