Fixed monit restarted error.

Errors everytime...
Merge pull request #4135 from shuhaowu/patch-1

Fixed monit restarted error.