From 32684f102b3f3a7580917b0f8b1485badbbb4bf4 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Mon, 19 Apr 2021 13:51:21 +0100 Subject: [PATCH] Adds docs about the `octane:stop` command (#214) * Adds docs about the `octane:stop` command * Update README.md Co-authored-by: Taylor Otwell --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index b596aa0c5..e067a2142 100644 --- a/README.md +++ b/README.md @@ -170,6 +170,14 @@ You may check the current status of the Octane server using the `octane:status` php artisan octane:status ``` +### Stopping The Server + +You may stop the Octane server using the `octane:stop` Artisan command: + +```bash +php artisan octane:stop +``` + ### Dependency Injection & Octane Since Octane boots your application once and keeps it in memory while serving requests, there are a few caveats you should consider while building your application. For example, the `register` and `boot` methods of your application's service providers will only be executed once when the request worker initially boots. On subsequent requests, the same application instance will be reused.