Merge pull request #1087 from edwardbadboy/master

Website: Delete the unnecessary backslash at the end shell command line
This commit is contained in:
Ryan Breen 2015-07-06 23:40:09 -04:00
commit 7cba295eb9
1 changed files with 2 additions and 2 deletions

View File

@ -30,11 +30,11 @@ Create two definition files in the Consul configuration directory of
the second node:
```text
vagrant@n2:~$ echo '{"check": {"name": "ping", \
vagrant@n2:~$ echo '{"check": {"name": "ping",
"script": "ping -c1 google.com >/dev/null", "interval": "30s"}}' \
>/etc/consul.d/ping.json
vagrant@n2:~$ echo '{"service": {"name": "web", "tags": ["rails"], "port": 80,\
vagrant@n2:~$ echo '{"service": {"name": "web", "tags": ["rails"], "port": 80,
"check": {"script": "curl localhost >/dev/null 2>&1", "interval": "10s"}}}' \
>/etc/consul.d/web.json
```