Thanks for the reply, I've tried creating a script in the /etc/init.d
directory and then running the chkconfig --add script-name and this hasn't
worked for me.

I'm getting an error saying that:
service service-name does not support chkconfig

I must still be doing something wrong?

The script has the same permissions showing in the ls -l list?

-----Original Message-----
From: Paul Yunusov [mailto:[EMAIL PROTECTED]
Sent: 20 August 2003 13:24
To: Tomcat Users List
Subject: Re: Installing Tomcat as a Service


On August 20, 2003 04:19 am, Stuart Stephen wrote:
> Hi all,
>
> How might I go about installing Tomcat as a service in RedHat 9.0. I've
> never installed a service under linux manually before and I'm not sure
what
> to do. I can't find the appropriate documentation in the manuals for
either
> Tomcat or RedHat. I must be looking in the wrong places :O(
>
> UNRELATED: Also, If I wanted to install a java program as a service, how
> might I do this? Is this a similar process?
>
> Regards,
> Stuart

man chkconfig
man serviceconf
man init

For a Java program, write a wrapper shell script like Tomcat authors did
with
catalina.sh.

Paul


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




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

Reply via email to