# restart: Restart Zotonic and all sites within the current VM

Source: https://zotonic.com/docs/3026/restart-restart-zotonic-and-all-sites-within-the-current-vm

URI: https://zotonic.com/id/3026

Language: en

Restart Zotonic and all sites within the current VM.

Syntax
------

```text
bin/zotonic restart 
```

Requirements and effects
------------------------

Requires a running node; affects every hosted site without restarting the Erlang VM.

Use restartsite when only one site needs restarting. Expect interruption while applications and sites restart. Check logs and status afterwards, then make an HTTP request to the relevant site. This is broader than loading changed code or flushing a site cache.

Example
-------

```sh
bin/zotonic restart
```

Run commands from the Zotonic workspace root. Replace `garden` with your site name where applicable.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/3026?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/3026?language=en>)
