From cd955d170caac12cc0b40fb79ecead86587b5130 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Mon, 3 Aug 2020 23:48:05 +0000 Subject: [PATCH] Replace incron with python inotify script + watchdog for managing slideshow restarts during management of picture files, this is operating on a 3s timeout for the restart which seems to be a decent balance given how fast syncthing can move files at times --- docs/slideshow.md | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/docs/slideshow.md b/docs/slideshow.md index 6a3a0cd..1192da6 100644 --- a/docs/slideshow.md +++ b/docs/slideshow.md @@ -208,14 +208,25 @@ EOF systemctl daemon-reload systemctl enable --now no-cursor-tty1 systemctl enable --now fim -apt install incron -cat > /etc/incron.d/fim-delete < /etc/systemd/system/inotify-pictures.service < /etc/incron.d/fim-create <