- luje/src/start-server.sh
- master
- 359 B
- 11
1#!/bin/bash
2
3echo -e "\n\e[1;97mWelcome to Lucee on Jetty!\e[0m\n"
4
5cd "$(dirname "$0")/lucee-base" || { echo "Failed to enter base directory." ; exit 1 ; }
6echo "In directory [$PWD]"
7
8echo -e "Starting Jetty... (Use Ctrl-C to shutdown server.)\n"
9java -jar ../jetty-home/start.jar
10
11echo -e "\nJetty stopped.\n"
12read -rs -n 1 -p "Press any key to continue..."