<html><head></head><body>Cool! I'll add that to a non-system process. <br><br><div class="gmail_quote">On May 21, 2020 11:27:17 AM EDT, DJ-Pfulio via Ale <ale@ale.org> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">inotify does that. It has been around 15+ years?<br>Been using that for automatic recorded TV processing for over a decade.<br><br><br>On Thu, 21 May 2020 10:30:58 -0400<br>Jim Kinney via Ale <ale@ale.org> wrote:<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">A systemd feature that is rather helpful:<br><br>It can watch for changes to a file and then perform a scripted action<br>when it occurs.<br><br>Example: dual dhcp servers with no shared config file. So systemd on<br>each host watches the config. If one changes the script notifies the<br>other to stop watching for changes, rsync the files, then start<br>watching for changes.<br></blockquote><hr>Ale mailing list<br>Ale@ale.org<br><a href="https://mail.ale.org/mailman/listinfo/ale">https://mail.ale.org/mailman/listinfo/ale</a><br>See JOBS, ANNOUNCE and SCHOOLS lists at<br><a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a><br></pre></blockquote></div><br>-- <br>"no government by experts in which the masses do not have the chance to inform the experts as to their needs can be anything but an oligarchy managed in the interests of the few.” - John Dewey</body></html>