Skip to content

Commit

Permalink
fix(docker): remove line preventing term signal on kubernetes
Browse files Browse the repository at this point in the history
Removed STOPSIGNAL SIGRTMIN+3 that prevents the sig_term signal to reach the java process and therefore prevent  the hazelcast gracefull shutdown.
  • Loading branch information
sgandon authored Nov 10, 2021
1 parent 041fad6 commit de3c986
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ ENV NGX_DISTRIBUTED_SHM_PORT=4321 \

COPY target/ngx-distributed-shm.jar /

STOPSIGNAL SIGRTMIN+3

EXPOSE 4321

ENTRYPOINT java -Dhazelcast.shutdownhook.policy=GRACEFUL \
Expand Down

0 comments on commit de3c986

Please sign in to comment.