Suppose i have a tmux session with a process running like a docker container / wsgi server etc..
Is there a way to define a "process kill command" that will run before the tmux session is killed? I don't want any leftovers when the session has stopped.