Skip to content

Commit

Permalink
add inotify version in
Browse files Browse the repository at this point in the history
  • Loading branch information
Staubgeborener authored May 22, 2024
1 parent 7ac3358 commit 3091c51
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/automation.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ This tells cron to run the backup script every 4 hours. You can find other cron
## Backup on file changes
The following service relies on the inotify-tools package. To install the package run ```sudo apt-get install inotify-tools``` in your terminal.

Please check with `inotifywait -h` if you are using the latest release. If this is not the case or if you encounter any problems (error messages, service not running correctly) or an update with `apt` does not work, follow these instructions:
Please check with `inotifywait -h` if you are using the latest release {% include "inotify_version" %} ([source](https://github.com/inotify-tools/inotify-tools/releases/latest){:target="_blank"}). If this is not the case or if you encounter any problems (error messages, service not running correctly) or an update with `apt` does not work, follow these instructions:

??? example "Expand to show alternate inotify installation"
```shell
Expand All @@ -72,8 +72,6 @@ Please check with `inotifywait -h` if you are using the latest release. If this
rm -rf inotify-tools
```

Latest release `inotify-tools`: {% include "inotify_version" %} ([source](https://github.com/inotify-tools/inotify-tools/releases/latest){:target="_blank"})

2. Create the service file in systemd
```shell
sudo nano /etc/systemd/system/klipper-backup-filewatch.service
Expand Down

0 comments on commit 3091c51

Please sign in to comment.