coder_agent shutdown / coder_script run_on_stop not working
Hi,
I'm creating a set of script to run on start and stop. Start scripts run as expected, but run_on_stop scripts (or shutdown) not executing, there is my code
I found the /full_home/tmp/manage_account_start.log, but not stop log, and stop action is not executed.
Any idea with this?
Thanks!
4 Replies
<#1329720357472567296>
Category
Help needed
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
hey, is
/full_home/tmp
a persistent folder?sure! i can persist any files on this directory
that's not what I meant
to me, it seems like you are runnig a script on stop, then storing a log file, then you expect to see that log file once the workspace starts up
but since the workspace has been destroyed, that is not going to be the case