Skip to content

Instantly share code, notes, and snippets.

@wakwanza
Last active December 6, 2016 09:29
Show Gist options
  • Save wakwanza/b5e12d1e80fe7a55ebb3cec11abbfc9b to your computer and use it in GitHub Desktop.
Save wakwanza/b5e12d1e80fe7a55ebb3cec11abbfc9b to your computer and use it in GitHub Desktop.
supervisord script for consul
[program:consul]
command=/usr/local/bin/consul agent -config-dir=/etc/consul.d/client
stopsignal=INT
user=consul
stdout_logfile=/var/log/consul.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=10
autostart=true
autorestart=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment