I am starting and stopping a process via monit with the following syntax:
stop program = "..." with timeout 90 seconds
Everything works well, except that Monit always reports
failed to stop after exactly one minute:
[EST Nov 11 11:04:09] info : 'myprocess' stop: /bin/su [EST Nov 11 11:05:09] error : 'myprocess' failed to stop [EST Nov 11 11:05:10] info : 'myprocess' stop action done
I obviously want it to wait 90 seconds, not 60 seconds. What am I doing wrong?