File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -218,17 +218,15 @@ handle signals themselves. To do so, implement the
218
218
}
219
219
}
220
220
221
- It is your responsibility to handle signals that are relevant to you (even
222
- ``SIGKILL ``, ``SIGTERM ``, etc). This allows you to ignore them or do tasks
223
- before terminating the process for example. This behavior is intended, as
224
- it leaves more flexibility to developers to handle each type of signal the
225
- way they want to.
221
+ Symfony doesn't handle any signal received by the command (not even ``SIGKILL ``,
222
+ ``SIGTERM ``, etc). This behavior is intended, as it gives you the flexibility to
223
+ handle all signals e.g. to do some tasks before terminating the command.
226
224
227
225
.. deprecated :: 6.3
228
226
229
- In Symfony versions previous to 6.3, all signals (except from ``SIGUSR1 `` and
230
- ``SIGUSR2 ``) would terminate the script by calling ``exit(0) ``. From Symfony 6.3,
231
- no more signal is automatically calling ``exit(0) ``.
227
+ In Symfony versions previous to 6.3, all signals (except ``SIGUSR1 `` and
228
+ ``SIGUSR2 ``) would terminate the script by calling ``exit(0) ``. Starting
229
+ from Symfony 6.3, no more signal is automatically calling ``exit(0) ``.
232
230
233
231
.. _`reserved exit codes` : https://www.tldp.org/LDP/abs/html/exitcodes.html
234
232
.. _`Signals` : https://en.wikipedia.org/wiki/Signal_(IPC)
You can’t perform that action at this time.
0 commit comments