tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: run tomcat as tomcat user
Date Thu, 22 Jan 2009 11:39:55 GMT
Kaushal Shriyan wrote:
> Hi
> 
> I am not able to start tomcat as tomcat user on ubutu 8.04 Linux,
> Below is my start/stop script
> Any ideas as what is going wrong ?
> 
I think the way you are using the "su" command is wrong.
Try :
su - (userid) -c "command + params"

You also probably want to re-direct the output of "command" to /dev/null 
etc..

Using another of the scripts existing in /etc/init.d as template, and 
modifying it, may be a better idea.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message