mirror of https://github.com/docker/docs.git
Update autorestart.md (#2485)
This commit is contained in:
parent
dd9303eb44
commit
6ec4be5e28
|
@ -38,7 +38,7 @@ Autorestart is set to `OFF` by default, which means that autorestart is *deactiv
|
|||
### Using the API and CLI
|
||||
|
||||
You can set the **Autorestart** option when launching a service through the
|
||||
API and through the CLI. Autorestart is set to `OFF` by default.
|
||||
API and through the CLI. Autorestart is set to `OFF` by default.
|
||||
|
||||
#### Set autorestart using the API
|
||||
|
||||
|
@ -60,7 +60,7 @@ See our [API documentation](/apidocs/docker-cloud.md) for more information.
|
|||
|
||||
## Enabling autorestart on an already deployed service
|
||||
|
||||
You can activate or deactivate **Autorestart** on a service after it has been deployed by editing the service.
|
||||
You can activate or deactivate **Autorestart** on a service after it has been deployed by editing the service.
|
||||
|
||||
1. Go to the service detail page.
|
||||
2. Click **Edit**.
|
||||
|
@ -85,4 +85,4 @@ PATCH /api/app/v1/service/(uuid)/ HTTP/1.1
|
|||
$ docker-cloud service set --autorestart ALWAYS (name or uuid)
|
||||
```
|
||||
|
||||
See the [API documentation](/apidocs/docker-cloud.md) for more information.
|
||||
See the [API documentation](/apidocs/docker-cloud.md) for more information.
|
||||
|
|
Loading…
Reference in New Issue