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

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

$sudo restart my-process

Will the process restart after 2 hours or not?

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
