Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 9646 Details for
Bug 7005
Tomcat Ebuild: provide Initscript and do not run as root by default
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
The init script I use
tomcat (text/plain), 438 bytes, created by
Tony Murray
on 2003-03-20 21:27:37 UTC
(
hide
)
Description:
The init script I use
Filename:
MIME Type:
Creator:
Tony Murray
Created:
2003-03-20 21:27:37 UTC
Size:
438 bytes
patch
obsolete
>#!/sbin/runscript ># tomcat init script by Tony Murray > >TOMCAT_SCRIPT=/opt/jakarta/tomcat/bin/catalina.sh >TOMCAT_USER=tomcat > >depend() { > need net > use mysql dns logger >} > >start() { > ebegin "Starting tomcat" > JAVA_HOME="`/bin/grep -e "JAVA_HOME" /etc/profile.env | sed -e "s/^.*'\(.*\)'$/\1/"`" > su $TOMCAT_USER -c "$TOMCAT_SCRIPT start" > eend $? >} > >stop() { > ebegin "Stopping tomcat" > su $TOMCAT_USER -c "$TOMCAT_SCRIPT stop" > eend $? >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7005
:
4835
| 9646