Wait for "monit reload" to succeed before ending "monit-alert"
Use bash for monit-alert
Add 1sec timeout to while loop in monit-alert
Move monit check function onto 1 line, export function for subshell
Adding note about sleeping, adding missing semicolon
Merge pull request #566 from njam/issue-566

Make sure monit-alert waits for "monit reload"