waiting for agent start

`or we can create pid file before agent will check it` <- I don't understand. Could you explain that more briefly?