Created
July 29, 2014 10:52
-
-
Save cbiggins/9a28a91765a4ef06e2cc to your computer and use it in GitHub Desktop.
Monit - check for a mount and create it if it doesn't exist.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
check directory nfs1 path /mnt/nfs/backups | |
start program = "/bin/bash -c '/bin/mkdir /mnt/nfs && /bin/chmod 0775 /mnt/nfs && /bin/mount /mnt/nfs'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment