Linux Runtime Script

2009-01-10 Thread Java PHI
Hi,

Does anyone has a Linux script to run Tomcat as Linux services, i.e. the
runlevel scripts ? I have tried to make one, but in case there is a proven
script that has been deployed somewhere... can someone please share ?

Thanks,

Feris


Re: Linux Runtime Script

2009-01-13 Thread Java PHI
Hi Rusty,

Thanks for this valuable script. I run on Fedora but should be okay by
little tweaking. Will try this script and will update if this okay to me :)

On Mon, Jan 12, 2009 at 12:26 AM, Rusty Wright wrote:

> I made this by modifying one for a different service.
>
> It's set up so that tomcat runs as the user tomcat.  In order to do that
> you'll need to tweak the ownership of the files in the tomcat directory.  I
> just made everything owned by tomcat except webapps, which I own, but which
> is group owned and writable by tomcat so it can explode the wars.
>
> I'm on ubuntu (notice the two flavors of the functions file it sources).
>

Regards,

Feris