| check process grains with pidfile /var/run/grains.pid | |
| start program = "/etc/init.d/grains start" | |
| stop program = "/etc/init.d/grains stop" | |
| depends on grains_init | |
| depends on grains_exe | |
| check file grains_init | |
| with path /etc/init.d/grains | |
| if changed timestamp then restart | |
| check file grains_exe | |
| with path /usr/local/bin/grains | |
| if changed timestamp then restart |