Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 1692 Details for
Bug 4030
tomcat-4.0.4 (ebuild update)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
This is an rc-script for tomcat
tomcat2 (text/plain), 849 bytes, created by
Matthieu Sozeau (RETIRED)
on 2002-06-22 12:08:28 UTC
(
hide
)
Description:
This is an rc-script for tomcat
Filename:
MIME Type:
Creator:
Matthieu Sozeau (RETIRED)
Created:
2002-06-22 12:08:28 UTC
Size:
849 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2002 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License, v2 or later ># $Header: /home/cvsroot/gentoo-src/rc-scripts/init.d/hostname,v 1.8 2002/03/24 09:47:01 azarah Exp $ > > >depend() { > need localmount net >} > >checkconfig() { > if [ ! -f /etc/env.d/21tomcat ] > then > eerror "Can't find tomcat env config file : /etc/env.d/21tomcat" > return 1 > fi >} > >start() { > if ! checkconfig > then > return 1 > else > ebegin "Starting tomcat..." > > $CATALINA_HOME/bin/startup.sh > /dev/null > retval=$? > eend ${retval} "Failed to start tomcat" > > return ${retval} > fi >} > >stop() { > if ! checkconfig > then > return 1 > else > ebegin "Stopping tomcat..." > > $CATALINA_HOME/bin/shutdown.sh > /dev/null > retval=$? > eend ${retval} "Failed to stop tomcat" > > return ${retval} > fi >} > > ># vim:ts=4
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 4030
:
1690
|
1691
| 1692