5 ms·
Run a script during shutdown/termination of an aws instance
I need to execute a script during shutdown/termination of an AWS instance(debian). I added my script to the /etc/init.d/myscript and a symlink to /etc/rc0.d/K01myscript however I noticed that when I terminate the instance I don't see that my script is executed. Any idea?
- brudgers 11y agoThis seems like a good question for StackOverflow or ServerFault.
- vishnunair 11y agoIt's already there :) But dint get enough responses.