Browse Source

Merge pull request #2361 from jfbibeau/patch-1

Docs: Update command to create sample service
pull/2362/head
James Phillips 8 years ago committed by GitHub
parent
commit
d1da2eff80
  1. 2
      website/source/intro/getting-started/services.html.markdown

2
website/source/intro/getting-started/services.html.markdown

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

Loading…
Cancel
Save