Skip to content

Instantly share code, notes, and snippets.

@byteshiva
Forked from ianblenke/fire_consul_event.sh
Created August 24, 2016 13:32
Show Gist options
  • Select an option

  • Save byteshiva/51b62424066ebdc7e2a36fdd2421937e to your computer and use it in GitHub Desktop.

Select an option

Save byteshiva/51b62424066ebdc7e2a36fdd2421937e to your computer and use it in GitHub Desktop.
Firing consul events
#!/bin/bash
consul event -name 'Name of your event' -token=$CONSUL_TOKEN 'Some payload, you should probably use JSON here'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment