Skip to content

Commit 2f98474

Browse files
committed
feature #5521 [Cookbook][WebServer] #5504 add a tip for the --force option (vincentaubert)
This PR was merged into the 2.8 branch. Discussion ---------- [Cookbook][WebServer] #5504 add a tip for the --force option | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.8 | Fixed tickets | #5504 Commits ------- b88a17e [Cookbook][WebServer] #5504 add a tip for the --force option on server:start
2 parents 3b829c0 + b88a17e commit 2f98474

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

cookbook/web_server/built_in.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,15 @@ can change the socket passing an IP address and a port as a command-line argumen
3939
4040
$ php app/console server:run 192.168.0.1:8080
4141
42+
.. note::
43+
44+
You can use the ``--force`` option to force the web server start
45+
if the process wasn't correctly stopped (without using the ``server:stop`` command).
46+
47+
.. code-block:: bash
48+
49+
$ php app/console server:start --force
50+
4251
.. note::
4352

4453
You can use the ``server:status`` command to check if a web server is

0 commit comments

Comments
 (0)