Ah ok, thanks.
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Thursday, October 30, 2014 1:25 PM
To: Tomcat Users List
Subject: Re: Tomcat Start script not starting from init.d or rc.local
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Mathieu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Mathieu,
On 10/30/14 12:11 PM, Mathieu Larchet wrote:
> Your variables are not visible from the su user, you should export
> them as you launch your command :
>
> su tomcat -c "JAVA_HOME=... CATALINA_HOME=...
> $CATALINA_HOME/bin/startup.sh"
Not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
On 10/30/2014 7:17 AM, Christopher Schultz wrote:
> Mark,
>
> On 10/29/14 3:44 PM, Mark Eggers wrote:
>
>> On 10/29/2014 10:33 AM, Anthony Bungeroth wrote:
>
>>> I basically need a script to run automatically when I reboot
>>> the server. I
Hi,
Your variables are not visible from the su user, you should export them as you
launch your command :
su tomcat -c "JAVA_HOME=... CATALINA_HOME=... $CATALINA_HOME/bin/startup.sh"
Good luck
- Mail original -
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Mark,
>
> On 10/29
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Mark,
On 10/29/14 3:44 PM, Mark Eggers wrote:
>
> On 10/29/2014 10:33 AM, Anthony Bungeroth wrote:
>
>> I basically need a script to run automatically when I reboot the
>> server. I have tried the various ways to get it to work in
>> init.d and i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/29/2014 10:33 AM, Anthony Bungeroth wrote:
>
> I basically need a script to run automatically when I reboot the
> server. I have tried the various ways to get it to work in init.d
> and it's not working. When I go into init.d and run it manu
You can use upstart if you have that, with a .conf file. However unless you
source the profile.d or wherever your environment variables are held do not
use them in an init task!
On Wed, Oct 29, 2014 at 1:55 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MES
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Anthony,
On 10/29/14 1:33 PM, Anthony Bungeroth wrote:
> I basically need a script to run automatically when I reboot the
> server.
>
> I have tried the various ways to get it to work in init.d and it's
> not working. When I go into init.d and r
I basically need a script to run automatically when I reboot the server.
I have tried the various ways to get it to work in init.d and it's not working.
When I go into init.d and run it manually it works though.
I think it has something to do with the fact that to run the script manually I
am