Hi,
is there an easy way to run the restart command in blocking mode?
Issue #93 sounds like this, but is very old and ends up in some non English language.
It would be very helpful while running eye in some deploy script (e.g. capistrano) that runs additional stuff after the process has been really restarted.
My current workaround looks like this:
Eye.app...
trigger :transition, from: :restarting, to: :up, do: -> {
process.execute_sync "rm -f tmp/restarting-abc-proc"
info "got to up (#{process.name})"
}
And in the deploy script
touch tmp/restarting-abc-proc
eye restart abc-proc
while test -f tmp/restarting-abc-proc; do sleep 1; done
Hi, is there an easy way to run the restart command in blocking mode? Issue #93 sounds like this, but is very old and ends up in some non English language.
It would be very helpful while running eye in some deploy script (e.g. capistrano) that runs additional stuff after the process has been really restarted.
My current workaround looks like this:
And in the deploy script
Any suggestions?