Skip to content

Commit acf1c99

Browse files
committed
Added updates to the Tomcat script
1 parent 934b855 commit acf1c99

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tcat.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,17 @@ source mvbuild.config
44
# tomcat_home - This is the main directory for all Tomcat install
55
# workspace_home - This is the main directory containing Workspaces for all projects
66

7-
action = $1
8-
instance = $2
7+
action=$1
8+
instance=$2
99

1010
cd $tomcat_home/$instance
1111

1212
if [ "$action" = "start" ]; then
13+
echo "Starting Tomcat in $tomcat_home/$instance ..."
1314
bin/startup.sh
1415
else
1516
if [ "$action" = "stop" ]; then
17+
echo "Shutting down Tomcat in $tomcat_home/$instance ..."
1618
bin/shutdown.sh
1719
else
1820
echo "Please either start or stop Tomcat..."

0 commit comments

Comments
 (0)