| Crates.io | fwatchd |
| lib.rs | fwatchd |
| version | 0.1.0 |
| created_at | 2022-06-26 17:30:36.614401+00 |
| updated_at | 2022-06-26 17:30:36.614401+00 |
| description | fwatchd - A file watching daemon |
| homepage | |
| repository | https://github.com/PatrikLundgren/fwatchd |
| max_upload_size | |
| id | 613636 |
| size | 45,357 |
fwatchd - A file watching daemon
fwatchd can be controlled using fwatchctl, which may instruct fwatchd to track files and perform some action based on inotify events on that file.
usermod -aG fwatch $USER
useradd -r -d / -c "File watching daemon" -s /usr/bin/nologin fwatch
systemctl enable fwatch
systemctl start fwatch
fwatchctl track /tmp/example
fwatchd --foreground
fwatchctl track /tmp/example --alias /usr/bin/echo --script /usr/bin/cat"
echo "test" >> /tmp/example
fwatchctl list