blob: 306a8d3314f93de76b32721691819b1b0aefa4c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
# Define environment variables
export JETTY_HOME="/app/jetty/" # Replace with your Jetty home directory
export JETTY_BASE="/app/jetty/" # Replace with your Jetty base directory
# Navigate to the Jetty base directory
cd "$JETTY_BASE"
# Run the Jetty start-up jar with deploy module added
java -Duser.dir="$JETTY_BASE" -jar $JETTY_HOME/start.jar --add-to-start=deploy
# Create startd configuration and add http, https, setuid modules
java -Duser.dir="$JETTY_BASE" -jar $JETTY_HOME/start.jar --create-startd --add-to-start=http,https,setuid
|