Skip to content

Instantly share code, notes, and snippets.

@adamhjk
Created June 30, 2010 23:22
Show Gist options
  • Save adamhjk/459358 to your computer and use it in GitHub Desktop.
Save adamhjk/459358 to your computer and use it in GitHub Desktop.
service "slapd" do
supports :restart => true, :status => true
action [ :enable, :start ]
end
# ... some shit ...
service "slapd" do
action :stop
end
# ... do more stuff, slapd will be stopped ...
service "slapd" do
action :start
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment