Detect event of new repository directory and RPM packages in Yum repository.
- inotify-tools
- createrepo
git clone:
$ git clone https://github.com/mkouhei/watchrepo.git
Install depended packages.:
$ sudo apt-get install createrepo inotify-tools
Execute shell script.:
$ watchrepo/watchrepo.sh /path/to/repodir &
Stop process:
$ watchrepo/watchrepo.sh stop