Skip to content

Commit

Permalink
They will be placed into non-blocking mode automatically.
Browse files Browse the repository at this point in the history
  • Loading branch information
exarkun committed Oct 3, 2022
1 parent 2115c40 commit 55789f2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ ExecStart=/usr/bin/twistd \
--pidfile= \
web --listen systemd:domain=INET:name=my-web-port --path .

NonBlocking=true

WorkingDirectory=/srv/www/www.example.com/static

User=nobody
Expand Down
4 changes: 0 additions & 4 deletions docs/core/howto/systemd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,6 @@ ExecStart

Socket activation is also technically possible with other socket families and types, but Twisted currently only accepts IPv4 and IPv6 TCP sockets. See :ref:`limitations` below.

NonBlocking

This must be set to ``true`` to ensure that ``systemd`` passes non-blocking sockets to Twisted.

Requires

The service no longer knows how to bind the listening port for itself.
Expand Down

0 comments on commit 55789f2

Please sign in to comment.