Skip to content

Commit cc962a8

Browse files
committed
In beforeInstall.sh, changed some of the output text to be more accurate.
1 parent 5176d09 commit cc962a8

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

scripts/beforeInstall.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ systemctl daemon-reload
5656
echo "Add https to Tomcat server.xml"
5757
sed 's/<Connector port="8080"/<Connector port="8080" scheme="https"/' -i $CATALINA_HOME/conf/server.xml
5858

59-
echo "Downlading setenv.sh Tomcat file"
59+
echo "Copying setenv.sh file to Tomcat bin folder"
6060
cp $BUILD_FILES/setenv.sh /usr/share/tomcat9/bin/setenv.sh
6161

6262
echo "Restarting Tomcat"
@@ -72,7 +72,7 @@ apt-get install nginx -y
7272
echo "Adding Nginx www-data user to tomcat group"
7373
usermod -a -G tomcat www-data
7474

75-
echo "Downloading WISE Nginx config file"
75+
echo "Copying WISE Nginx config file to Nginx sites-enabled folder"
7676
rm -f /etc/nginx/sites-enabled/*
7777
cp $BUILD_FILES/$env/wise.conf /etc/nginx/sites-enabled/wise.conf
7878
systemctl restart nginx
@@ -82,7 +82,7 @@ mkdir -p $HOME/build-folder/WEB-INF/classes
8282
sudo -u ubuntu -g ubuntu mkdir $HOME/backup
8383
sudo -u ubuntu -g tomcat mkdir $HOME/googleTokens
8484

85-
echo "Downloading application.properties file"
85+
echo "Copying application.properties file to the build folder"
8686
cp $BUILD_FILES/$env/application.properties $BUILD_DIR/WEB-INF/classes/application.properties
8787

8888
echo "Installing network drive package"
@@ -92,16 +92,16 @@ echo "Mounting network drive folders"
9292
cp $BUILD_FILES/$env/fstab /etc/fstab
9393
mount -a
9494

95-
echo "Downloading .vimrc file"
95+
echo "Copying .vimrc file to the ubuntu home folder"
9696
sudo -u ubuntu -g ubuntu cp $BUILD_FILES/.vimrc $HOME/.vimrc
9797

98-
echo "Downloading text to append to .bashrc"
98+
echo "Appending text to .bashrc"
9999
cat $BUILD_FILES/append-to-bashrc.txt >> ~/.bashrc
100100
source ~/.bashrc
101101

102102
echo "Installing tree"
103103
apt-get install tree -y
104104

105-
echo "Downloading message of the day script to display notes"
105+
echo "Copying message of the day file to update-motd.d folder to display notes on login"
106106
cp $BUILD_FILES/99-notes /etc/update-motd.d/99-notes
107107
chmod 755 /etc/update-motd.d/99-notes

0 commit comments

Comments
 (0)