Paul Wise wrote: > I think the daemon should exit if I > completely remove the directory that it is monitoring.
This would be a nice feature.. I think it would require a separate inotify on the parent directory containing the repository directory in order to get an event when the repository is removed. So might add rather a lot of complication. Perhaps the thing to do is to check before rotating the log, and give up if the repository doesn't exist then. Rather than writing a new log file, and so recreating the repository directory as it did in your case. -- see shy jo
signature.asc
Description: Digital signature