Fix monit template and restart when file changes.