<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.twig.es/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.twig.es/index.php?action=history&amp;feed=atom&amp;title=Startup_script</id>
		<title>Startup script - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.twig.es/index.php?action=history&amp;feed=atom&amp;title=Startup_script"/>
		<link rel="alternate" type="text/html" href="https://wiki.twig.es/index.php?title=Startup_script&amp;action=history"/>
		<updated>2026-05-06T18:14:53Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.0</generator>

	<entry>
		<id>https://wiki.twig.es/index.php?title=Startup_script&amp;diff=532&amp;oldid=prev</id>
		<title>George2: Created page with &quot;&lt;source lang=&quot;bash&quot;&gt; #!/bin/bash # chkconfig: 2345 80 20 # Description: Tomcat Server basic start/shutdown script # /etc/init.d/tomcat6 -- startup script for the Tomcat 6 serv...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.twig.es/index.php?title=Startup_script&amp;diff=532&amp;oldid=prev"/>
				<updated>2014-07-12T13:00:36Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt; #!/bin/bash # chkconfig: 2345 80 20 # Description: Tomcat Server basic start/shutdown script # /etc/init.d/tomcat6 -- startup script for the Tomcat 6 serv...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
# chkconfig: 2345 80 20&lt;br /&gt;
# Description: Tomcat Server basic start/shutdown script&lt;br /&gt;
# /etc/init.d/tomcat6 -- startup script for the Tomcat 6 servlet engine&lt;br /&gt;
&lt;br /&gt;
TOMCAT_HOME=/usr/local/apache-tomcat-6.0.35/bin&lt;br /&gt;
START_TOMCAT=/usr/local/apache-tomcat-6.0.35/bin/startup.sh&lt;br /&gt;
STOP_TOMCAT=/usr/local/apache-tomcat-6.0.35/bin/shutdown.sh&lt;br /&gt;
&lt;br /&gt;
start() {&lt;br /&gt;
 echo -n &amp;quot;Starting tomcat6: &amp;quot;&lt;br /&gt;
 cd $TOMCAT_HOME&lt;br /&gt;
 ${START_TOMCAT}&lt;br /&gt;
 echo &amp;quot;done.&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
stop() {&lt;br /&gt;
 echo -n &amp;quot;Shutting down tomcat6: &amp;quot;&lt;br /&gt;
 cd $TOMCAT_HOME&lt;br /&gt;
 ${STOP_TOMCAT}&lt;br /&gt;
 echo &amp;quot;done.&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
case &amp;quot;$1&amp;quot; in&lt;br /&gt;
 &lt;br /&gt;
start)&lt;br /&gt;
 start&lt;br /&gt;
 ;;&lt;br /&gt;
&lt;br /&gt;
stop)&lt;br /&gt;
 stop&lt;br /&gt;
 ;;&lt;br /&gt;
&lt;br /&gt;
restart)&lt;br /&gt;
 stop&lt;br /&gt;
 sleep 10&lt;br /&gt;
 start&lt;br /&gt;
 ;;&lt;br /&gt;
&lt;br /&gt;
*)&lt;br /&gt;
 echo &amp;quot;Usage: $0 {start|stop|restart}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
esac&lt;br /&gt;
exit 0&lt;/div&gt;</summary>
		<author><name>George2</name></author>	</entry>

	</feed>