Closed Tylerjet closed 8 months ago
Making as a draft cause of course now the image doesn't want to be in the correct spot
I love the commit messages
Unfortunately I'm running into issues with the inotify service:
pi@rpi3-3d-ender:~ $ sudo systemctl status klipper-backup-filewatch.service
● klipper-backup-filewatch.service - Klipper Backup Filewatch Service
Loaded: loaded (/etc/systemd/system/klipper-backup-filewatch.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Feb 25 12:38:16 rpi3-3d-ender systemd[1]: klipper-backup-filewatch.service: Succeeded.
Feb 25 12:38:49 rpi3-3d-ender systemd[1]: Started Klipper Backup Filewatch Service.
Feb 25 12:38:49 rpi3-3d-ender bash[987]: inotifywait: invalid option -- 'P'
Feb 25 12:38:49 rpi3-3d-ender systemd[1]: klipper-backup-filewatch.service: Succeeded.
Edit: Removing P
does not solve it. inotifywait 3.14
on Raspbian 10.
Additionally the script could be altered to fed the exclude
list from .env
into exclude_pattern
as well. 😉
This script is using the newest inotify version (version > 4), see this post.
update automation.md to include file watching service, also make on-boot service more distinguished as klipper-backup-on-boot.service instead of klipper-backup.service