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 1
1
#! /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
3
16
4
17
scriptDir=" $( cd " $( dirname " $0 " ) " > /dev/null 2>&1 ; pwd -P ) "
5
18
if [ " ${debug} " == " true" ]; then set -x; fi ;
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # Copyright (c) 2018, 2024 , Oracle and/or its affiliates.
2
+ # Copyright (c) 2018, 2025 , Oracle and/or its affiliates.
3
3
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
4
4
5
5
#
44
44
# and introspectDomain.py (see these scripts to find out what else needs to be set).
45
45
#
46
46
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
47
59
48
60
SCRIPTPATH=" $( cd " $( dirname " $0 " ) " > /dev/null 2>&1 ; pwd -P ) "
49
61
You can’t perform that action at this time.
0 commit comments