summaryrefslogtreecommitdiff
path: root/distro/debian/etc/init/chef-client.conf
diff options
context:
space:
mode:
Diffstat (limited to 'distro/debian/etc/init/chef-client.conf')
-rw-r--r--distro/debian/etc/init/chef-client.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/distro/debian/etc/init/chef-client.conf b/distro/debian/etc/init/chef-client.conf
new file mode 100644
index 0000000000..1f8c6d0d9b
--- /dev/null
+++ b/distro/debian/etc/init/chef-client.conf
@@ -0,0 +1,17 @@
+# 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 0; }
+end script
+
+exec /usr/bin/chef-client -i 1800 -L /var/log/chef/client.log