Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A question about upstart.

I understand the restart command does a stop and restart of the process. What happens if the process will not stop and check for the signals for a long time (20min or 2h)?

Will it still restart after such a long time ?

Example my-process:

until stop_signal_received
  work for 2h
end

So the script will check for stop signals every 2 hours.

$sudo restart my-process

Will the process restart after 2 hours or not?

share|improve this question

migrated from serverfault.com Jul 3 '13 at 4:29

This question came from our site for system and network administrators.

1  
It depends on how the script that does the restart is written. – Jenny D Jul 1 '13 at 10:06
    
I added an example. – user567938 Jul 1 '13 at 13:38

Your Answer

 
discard

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