Skip to content

Instantly share code, notes, and snippets.

@dyurk
Created August 18, 2013 16:53
Show Gist options
  • Save dyurk/6262676 to your computer and use it in GitHub Desktop.
Save dyurk/6262676 to your computer and use it in GitHub Desktop.
chefkiller.sh
if ((`pgrep -l chef-client | wc -l` > 1)) ; then `killall chef-client && /etc/init.d/chef-client restart` > /dev/null ; fi;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment