Skip to content

Instantly share code, notes, and snippets.

@marylly
Last active June 24, 2018 20:25
Show Gist options
  • Save marylly/4dea99d85d892cd26eb6d9aacca4be02 to your computer and use it in GitHub Desktop.
Save marylly/4dea99d85d892cd26eb6d9aacca4be02 to your computer and use it in GitHub Desktop.
Supervisor conf for consul service
[supervisord]
nodaemon=true
[program:consul]
command=$GOPATH/bin/consul agent -server -config-file=$GOPATH/src/github.com/hashicorp/consul/consul.json
autostart=true
[program:vault]
command=$GOPATH/bin/vault server -config $GOPATH/src/github.com/hashicorp/vault/vault.json
autostart=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment