How do I setup a monit script to check if a directory exists and create it if it doesn't
- by Timberford
In the monit documentation I can see there is a check directory command but I can't see any examples of how to use it to see if the directory exists and if it doesn't to create the directory using the mkdir command.