Skip to content

Commit

Permalink
Adds docs about the octane:stop command (#214)
Browse files Browse the repository at this point in the history
* Adds docs about the `octane:stop` command

* Update README.md

Co-authored-by: Taylor Otwell <taylor@laravel.com>
  • Loading branch information
nunomaduro and taylorotwell authored Apr 19, 2021
1 parent 3b5d6a6 commit 32684f1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 32684f1

Please sign in to comment.