From cd92e45e4b3984f746a83487aeffced743749f68 Mon Sep 17 00:00:00 2001 From: Diptanu Choudhury Date: Tue, 19 Apr 2016 14:47:04 -0700 Subject: [PATCH] Fixed the docs around service discovery --- website/source/docs/jobspec/servicediscovery.html.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/source/docs/jobspec/servicediscovery.html.md b/website/source/docs/jobspec/servicediscovery.html.md index 1f9c433a5..d61923387 100644 --- a/website/source/docs/jobspec/servicediscovery.html.md +++ b/website/source/docs/jobspec/servicediscovery.html.md @@ -78,7 +78,7 @@ group "database" { check { type = "script" name = "check_table" - cmd = "/usr/local/bin/check_mysql_table_status" + command = "/usr/local/bin/check_mysql_table_status" args = ["--verbose"] interval = "60s" timeout = "5s" @@ -127,8 +127,8 @@ group "database" { ### Check Syntax * `type`: This indicates the check types supported by Nomad. Valid options are - currently `http` and `tcp`. In the future Nomad will add support for more - Consul checks. + currently `http`, `tcp` and `script`. In the future Nomad will add support for + more Consul checks. * `interval`: This indicates the frequency of the health checks that Consul will perform.