run script when specific package is updated yum-cron
I would like to setup a rule-set where a service (tomee) is restarted when package java-1.8.0-oracle is updated when yum-cron runs every night.
So when yum update -y is executed (by yum-cron or superuser) and package java-1.8.0-oracle is updated then the service tomee1 should be restarted.
Any bright ideas?
Thank you!
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
