In the tomcat-apache-how-to there is a section at the end where the writer
answers a question of How do you start tomcat as "nobody"
Here's the code:
#!/bin/sh
CLASSPATH=/your/classpath/here
export CLASSPATH
su - nobody -c "/tomcat/bin/tomcat.sh $@"
The only thing I changed was the path /your/classpath/here
My CLASSPATH contains JAVA_HOME so I figure I have to put that env var and
associated export
On boot TomCat is not being started.
I've got some debug/echo in tomcat.sh that writes out to a file. The debug
msgs never show up, so I figure it tomcat.sh is never being called.
Now I'm not super clear about why I would need or want to run TomCat as
nobody. If I yank out the "su - nobody" it seems to work fine.
ands what's the "nobody" got to do with boot up anyway.
Also, any clue on why I don't see any msgs or why TomCat is not being
started.
Any help appreciated.
Thanks Steve
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]