inotifywait foldrer watch service for systemd
- inotifywait
- Python
- PyYAML
- (optional) MySQLdb
- (optional) MySQL/MariaDB
git clone https://github.com/robac/folderwatch #Ubuntu chmod +x folderwatch/install/ubuntu/install_ubuntu.sh ./folderwatch/install/ubuntu/install_ubuntu.sh#Centos chmod +x folderwatch/install/centos/install_centos.sh ./folderwatch/install/centos/install_centos.sh cp /etc/folderwatch/folderwatch.conf.sample /etc/folderwatch/folderwatch.conf
systemctl enable folderwatch systemctl enable ./folderwatch/src/systemd/folderwatch.service systemctl start folderwatch
systemctl stop folderwatch systemctl disable folderwatch