set the mode for the monit config