@@ -29,9 +29,9 @@ function update_script() {
2929 fi
3030 RELEASE=" $( curl -fsSL https://dlcdn.apache.org/tika/ | grep -oP ' (?<=href=")[0-9]+\.[0-9]+\.[0-9]+(?=/")' | sort -V | tail -n1) "
3131 if [[ ! -f /opt/${APP} _version.txt ]] || [[ " ${RELEASE} " != " $( cat /opt/${APP} _version.txt) " ]]; then
32- msg_info " Stopping ${APP} "
32+ msg_info " Stopping Service "
3333 systemctl stop apache-tika
34- msg_ok " Stopped ${APP} "
34+ msg_ok " Stopped Service "
3535
3636 msg_info " Updating ${APP} to v${RELEASE} "
3737 cd /opt/apache-tika
@@ -41,9 +41,9 @@ function update_script() {
4141 echo " ${RELEASE} " > /opt/${APP} _version.txt
4242 msg_ok " Updated ${APP} to v${RELEASE} "
4343
44- msg_info " Starting ${APP} "
44+ msg_info " Starting Service "
4545 systemctl start apache-tika
46- msg_ok " Started ${APP} "
46+ msg_ok " Started Service "
4747 msg_info " Cleaning Up"
4848 rm -rf /opt/apache-tika/tika-server-standard-prev-version.jar
4949 msg_ok " Cleanup Completed"
@@ -61,4 +61,4 @@ description
6161msg_ok " Completed Successfully!\n"
6262echo -e " ${CREATING}${GN}${APP} setup has been successfully initialized!${CL} "
6363echo -e " ${INFO}${YW} Access it using the following URL:${CL} "
64- echo -e " ${TAB}${GATEWAY}${BGN} http://${IP} :9998${CL} "
64+ echo -e " ${TAB}${GATEWAY}${BGN} http://${IP} :9998${CL} "
0 commit comments