By default, Akka disables the actor system (s) when it receives SIGTERM . How can I override this behavior to execute my custom shutdown logic before shutting down akka system? I already have this logic implemented in actors using special graceful stop messages - I just need to call this logic when SIGTERM received.
Or do I need to use another way to disable the application? This is also an option.
source share