Merge pull request #2361 from jfbibeau/patch-1

Docs: Update command to create sample service
This commit is contained in:
James Phillips 2016-09-26 14:23:31 -07:00 committed by GitHub
commit d1da2eff80

View File

@ -41,7 +41,7 @@ we'll give it a tag we can use as an additional way to query the service:
```text
$ echo '{"service": {"name": "web", "tags": ["rails"], "port": 80}}' \
>/etc/consul.d/web.json
| sudo tee /etc/consul.d/web.json
```
Now, restart the agent, providing the configuration directory: