laravel-websockets/docs/basic-usage/restarting.md

15 lines
354 B
Markdown
Raw Normal View History

2020-08-18 12:29:49 +00:00
---
title: Restarting Server
order: 4
---
# Restarting Server
If you use Supervisor to keep your server alive, you might want to restart it just like `queue:restart` does.
2020-09-11 06:25:13 +00:00
To do so, consider using the `websockets:restart`. In a maximum of 10 seconds since issuing the command, the server will be restarted.
2020-08-18 12:29:49 +00:00
```bash
php artisan websockets:restart
```