mirror of
https://github.com/status-im/consul.git
synced 2025-01-13 07:14:37 +00:00
Merge pull request #2361 from jfbibeau/patch-1
Docs: Update command to create sample service
This commit is contained in:
commit
d1da2eff80
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user