Skip to content

Instantly share code, notes, and snippets.

@macros
Created April 2, 2009 07:54
Show Gist options
  • Save macros/89085 to your computer and use it in GitHub Desktop.
Save macros/89085 to your computer and use it in GitHub Desktop.
include_recipe "runit"
package "libopenssl-ruby1.8"
remote_file "/etc/chef/client.rb" do
source "client.rb"
mode 0644
owner "root"
group "root"
end
runit_service "chef-client"
#!/bin/sh
exec svlogd -tt ./main
#!/bin/sh
exec 2>&1
exec /usr/bin/env chef-client -i 1800 -s 120 -L /var/log/chef/client.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment