11 lines
245 B
Plaintext
11 lines
245 B
Plaintext
check process consul
|
|
with pidfile /var/run/consul.pid
|
|
start program = "/usr/bin/supervisorctl start consul"
|
|
stop program = "/usr/bin/supervisorctl stop consul"
|
|
|
|
if failed
|
|
host localhost
|
|
port 8500
|
|
protocol HTTP
|
|
then restart
|