diff options
Diffstat (limited to 'openecomp-be/dist/sdc-onboard-backend-docker/artifacts/scripts/create_jetty_modules.sh')
-rw-r--r-- | openecomp-be/dist/sdc-onboard-backend-docker/artifacts/scripts/create_jetty_modules.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/scripts/create_jetty_modules.sh b/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/scripts/create_jetty_modules.sh new file mode 100644 index 0000000000..306a8d3314 --- /dev/null +++ b/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/scripts/create_jetty_modules.sh @@ -0,0 +1,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 + |