Skip to content

Instantly share code, notes, and snippets.

@casualjim
Created August 21, 2011 19:20
Show Gist options
  • Select an option

  • Save casualjim/1161031 to your computer and use it in GitHub Desktop.

Select an option

Save casualjim/1161031 to your computer and use it in GitHub Desktop.
sudo initctl emit -n my-event
start on my-event
task
exec echo "my event received" >> /tmp/my_event
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment