Browse Source

Change CTS docs to use the `start` subcommand.

pull/13407/head
Derek Menteer 3 years ago committed by hashi-derek
parent
commit
6bd2d760af
  1. 2
      website/content/docs/nia/cli/index.mdx
  2. 2
      website/content/docs/nia/installation/run.mdx

2
website/content/docs/nia/cli/index.mdx

@ -16,7 +16,7 @@ Consul-Terraform-Sync (CTS) is controlled via an easy to use command-line interf
When CTS runs as a daemon, there is no default configuration to start CTS. You must set a configuration flag -config-file or -config-dir. For example: When CTS runs as a daemon, there is no default configuration to start CTS. You must set a configuration flag -config-file or -config-dir. For example:
```shell-session ```shell-session
$ consul-terraform-sync -config-file=config.hcl $ consul-terraform-sync start -config-file=config.hcl
``` ```
To review a list of available flags, use the `-help` or `-h` flag. To review a list of available flags, use the `-help` or `-h` flag.

2
website/content/docs/nia/installation/run.mdx

@ -18,7 +18,7 @@ description: >-
3. Run Consul-Terraform-Sync (CTS). 3. Run Consul-Terraform-Sync (CTS).
```shell-session ```shell-session
$ consul-terraform-sync -config-file <config.hcl> $ consul-terraform-sync start -config-file <config.hcl>
``` ```
4. Check status of tasks. Replace port number if configured in Step 2. See additional API endpoints [here](/docs/nia/api) 4. Check status of tasks. Replace port number if configured in Step 2. See additional API endpoints [here](/docs/nia/api)

Loading…
Cancel
Save