Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
AnneCYH committed Jul 24, 2024
1 parent 803c1c0 commit bb62f6e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/how-to/service-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ frontend enabled active today at 10:17 CST

To further verify the service dependencies, we can force fail a service that is
required by another service.
For example, if we force the ``database`` service to fail, the output should be
similar to:
For example, if we force the ``database`` service to fail, the output for the
``pebble run`` command should be similar to:

```{terminal}
:input: pebble run
Expand All @@ -244,7 +244,7 @@ similar to:
2024-06-28T02:28:06.633Z [pebble] Started default services with change 1.
```

If a required service fails to start, all services that are dependent on it
Since a required service fails to start, all services that are dependent on it
should not start ("inactive") accordingly:

```{terminal}
Expand All @@ -256,6 +256,9 @@ database enabled inactive -
frontend enabled inactive -
```

You can use the `changes and tasks`_ commands to get more details about the
failed run.

## See more

- [pebble services command](../reference/cli-commands/services.md)
Expand Down

0 comments on commit bb62f6e

Please sign in to comment.