> ## Documentation Index
> Fetch the complete documentation index at: https://www.jetify.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# devbox services restart

> Restarts service. If no service is specified, restarts all services and process-compose.

```bash theme={null}
devbox services restart [service]... [flags]
```

<Info>
  Note: We recommend using `devbox services up` if you are starting all your services and
  process-compose. This command lets you specify your process-compose file and whether to run
  process-compose in the foreground or background.
</Info>

## Options[​](#options "Direct link to Options")

| Option                     | Description                                                                      |
| -------------------------- | -------------------------------------------------------------------------------- |
| `-e, --env stringToString` | environment variables to set in the devbox environment (default \[])             |
| `--env-file string`        | path to a file containing environment variables to set in the devbox environment |
| `-h, --help`               | help for restart                                                                 |
| `-q, --quiet`              | Quiet mode: Suppresses logs.                                                     |

## SEE ALSO[​](#see-also "Direct link to SEE ALSO")

* [devbox services](/docs/devbox/cli-reference/devbox-services/) - Interact with devbox services

[Edit this page](https://github.com/jetify-com/docs/tree/main/docs/devbox/cli-reference/devbox-services-restart/index.mdx)
