I have an interactive RStudio app. It is using native binaries (not containers) that are called with a launcher script in the form of a module. The launcher script creates a pid file so that users can only create one of these sessions per node. When using from the cli, typing
rsc stop cancels the rstudio session and cleans up the pid file. So, I created a template/clean.sh.erb script with that command in it. I also put an echo so I can tell when clean.sh is called. It doesn’t seem to be called when the “Delete Session” is clicked . Is there any way to make that happen?