Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using EC2 and I have a pre-stop script that is calling curl. From what I can tell the curl never gets called. I'm trying to do stop on shutdown or stop on runlevel [056]. Neither seem actually call the pre-stop script when I shutdown the EC2 instance from the GUI. Originally I thought EC2 was terminating the networking before starting the shutdown, but now I just think stop is never called at all. Any ideas?

share|improve this question
add comment

1 Answer

We really need to see that job to comment appropriately. If you are unable to share that information, I suggest you look at:

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.