Skip to content

Commit dba2271

Browse files
committed
move stop marker file to domain home
1 parent 721be9f commit dba2271

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

operator/src/main/resources/scripts/startServer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function waitForShutdownMarker() {
111111
#
112112
trace "Wait indefinitely so that the Kubernetes pod does not exit and try to restart"
113113
while true; do
114-
if [ -e /weblogic-operator/doShutdown ] ; then
114+
if [ -e ${DOMAIN_HOME}/doShutdown ] ; then
115115
exit 0
116116
fi
117117
sleep 3

operator/src/main/resources/scripts/stopServer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ if [ ! -z $pid ]; then
7474
kill -15 $pid
7575
fi
7676

77-
touch /weblogic-operator/doShutdown
77+
touch ${DOMAIN_HOME}/doShutdown
7878
if [ -f /weblogic-operator/pid ]; then
7979
kill -2 $(</weblogic-operator/pid)
8080
fi

0 commit comments

Comments
 (0)