I want to be able to cleanly stop some associated services if I run tmux stop
For example, if there's a docker instance running, stop that. Basically I want to be able to trigger a custom script / commands that will be executed on issues the tmux stop command.
Any ideas how this can be accomplished?
Read the manual - couldn't find it!
Thanks in advance.