Hi, I am wanting to monitor /home/me/letsencrypt/etc/letsencrypt/live on my docker host, so that when a new certificate is issued I can propagate it as needed to another virtual machine hosting another server.
I have installed incron which is supposed to be able to act like cron but for changes in files/folders as a trigger rather than times as with cron.
The problem is that it doesn’t detect changes in that folder that are made by the letsencrypt container despite it being a local folder. If I manually create a file in the folder incron picks it up and triggers my script. So I am guessing it has something to do with inotify not detecting changes made by docker containers?
If anybody could provide any advice about this I would be most grateful.