История изменений
Исправление constin, (текущая версия) :
все пашет, спасибо
root@fileserver2:/opt/inotify# systemctl status inotify.service
● inotify.service
Loaded: loaded (/etc/systemd/system/inotify.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-09-07 11:55:30 CEST; 7s ago
Main PID: 9679 (monitor.sh)
Tasks: 3 (limit: 4915)
Memory: 1.7M
CPU: 197ms
CGroup: /system.slice/inotify.service
├─9679 /bin/bash /opt/inotify/monitor.sh
├─9680 inotifywait -m -r -e attrib --format %w%f --fromfile /etc/default/inotifywait
└─9681 /bin/bash /opt/inotify/monitor.sh
Sep 07 11:55:30 fileserver2 systemd[1]: Started inotify.service.
Sep 07 11:55:30 fileserver2 monitor.sh[9679]: Setting up watches. Beware: since -r was given, this may take a while!
Sep 07 11:55:30 fileserver2 monitor.sh[9679]: Watches established.
Исходная версия constin, :
все пашет, спасибо
root@fileserver2:/opt/inotify# systemctl status inotify.service ● inotify.service Loaded: loaded (/etc/systemd/system/inotify.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2018-09-07 11:55:30 CEST; 7s ago Main PID: 9679 (monitor.sh) Tasks: 3 (limit: 4915) Memory: 1.7M CPU: 197ms CGroup: /system.slice/inotify.service ├─9679 /bin/bash /opt/inotify/monitor.sh ├─9680 inotifywait -m -r -e attrib --format %w%f --fromfile /etc/default/inotifywait └─9681 /bin/bash /opt/inotify/monitor.sh
Sep 07 11:55:30 fileserver2 systemd[1]: Started inotify.service. Sep 07 11:55:30 fileserver2 monitor.sh[9679]: Setting up watches. Beware: since -r was given, this may take a while! Sep 07 11:55:30 fileserver2 monitor.sh[9679]: Watches established.