#!/sbin/sh # case "$1" in start) echo "Starting TomCat 4..." su - nocat -c "/usr/local/tomcat/bin/startup.sh" sleep 10 /usr/local/apache/bin/apachectl start ;; restart) ;; stop) /usr/local/apache/bin/apachectl stop echo "Stoping TomCat 4..." su - nocat -c "/usr/local/tomcat/bin/shutdown.sh" sleep 10 ;; *) echo "Usage: $0 {start|stop|restart}" exit 1 ;; esac
Thanks, John Quote for the week: It's not that I'm afraid to die. I just don't want to be there when it happens. Woody Allen, Death (1975), p.53 -----Original Message----- From: chad kellerman [mailto:[EMAIL PROTECTED]] Sent: 05 March 2002 14:06 To: Tomcat Users List Subject: file creation Hello everyone, I am using Apache 1.3.23 with tomcat 4.0.1 woth the web_app module. I have configured tomcat to work with Virtual Hosts. All jsp pages and serverlets operate correctly, and everything is running smoothly except one thing. I downloaded a evalutaion copy of jive forum from http://www.jivesoftware.com just to do some testing ( jsp, jdbc, and servlets) Everything runs great and looks great but one thing. Any files that that it creates has the uid and gid of root. Root being who started and running tomcat. How can I set "suexec" for tomcat? And how can I change the user the Tomcat is running as? For example, have it run as the user tomcat. Thanks for all the help, -chad -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>