Upstart restart process time

Posted by user567938 on Super User See other posts from Super User or by user567938
Published on 2013-07-01T09:48:10Z Indexed on 2013/07/03 5:08 UTC
Read the original article Hit count: 171

Filed under:

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?

© Super User or respective owner

Related posts about upstart