File tree Expand file tree Collapse file tree 2 files changed +27
-2
lines changed
operator/src/main/resources/scripts Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
2- # Copyright (c) 2023, Oracle and/or its affiliates.
2+ # Copyright (c) 2023, 2025, Oracle and/or its affiliates.
3+
4+ cleanup () {
5+ trace " Suppressing signal to allow container to exit cleanly."
6+ exit 0
7+ }
8+
9+ trap cleanup SIGTERM SIGKILL
10+
11+ exitMessage () {
12+ trace " Exiting container for initializing domain home on PV of '${DOMAIN_UID} '."
13+ }
14+
15+ trap exitMessage EXIT
316
417scriptDir=" $( cd " $( dirname " $0 " ) " > /dev/null 2>&1 ; pwd -P ) "
518if [ " ${debug} " == " true" ]; then set -x; fi ;
Original file line number Diff line number Diff line change 11#! /bin/bash
2- # Copyright (c) 2018, 2024 , Oracle and/or its affiliates.
2+ # Copyright (c) 2018, 2025 , Oracle and/or its affiliates.
33# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
44
55#
4444# and introspectDomain.py (see these scripts to find out what else needs to be set).
4545#
4646
47+ cleanup () {
48+ trace " Suppressing signal to allow container to exit cleanly."
49+ exit 0
50+ }
51+
52+ trap cleanup SIGTERM SIGKILL
53+
54+ exitMessage () {
55+ trace " Exiting container for introspection of '${DOMAIN_UID} '."
56+ }
57+
58+ trap exitMessage EXIT
4759
4860SCRIPTPATH=" $( cd " $( dirname " $0 " ) " > /dev/null 2>&1 ; pwd -P ) "
4961
You can’t perform that action at this time.
0 commit comments