users@glassfish.java.net

Re: Help to automatically start and stop the server

From: Glenn Holmer <gholmer_at_weycogroup.com>
Date: Thu, 15 May 2008 07:21:00 -0500

On Wed, 2008-05-14 at 09:30 -0300, Felipe Jaekel wrote:
> I'm looking for a tutorial like this, but for Linux.

You can start it from a script in /etc/init.d. Most Linux distros have
some kind of skeleton file in that directory that you can base a new
script on. If you follow the conventions in the skeleton, your script
should show up in "service" or "runlevel" tools, so you can set it to
start automatically.

I've attached one I did for Ubuntu; suggestions for improvement are
welcome.

-- 
____________________________________________________________
Glenn Holmer                          gholmer_at_weycogroup.com
Software Engineer                        phone: 414-908-1809
Weyco Group, Inc.                          fax: 414-908-1601