# chef-client - Chef Configuration Management Client
#
# Chef Client provides the Chef configuration management daemon

description "Chef Client"

start on filesystem
stop on runlevel [!2345]

respawn
respawn limit 5 30

pre-start script
    test -x /usr/bin/chef-client || { stop; exit 1; }
end script

exec /usr/bin/chef-client -i 1800 -L /var/log/chef/client.log
