[systemd-devel] [PATCH] basic SO_REUSEPORT support

Shawn shawnlandden at gmail.com
Wed Jul 10 15:42:04 PDT 2013

The idea (not supported in this patch) is that a service could feed via
dbus a systemd.socket of itsself, and when that is activated, then close
its own listen()/bind() and shut down, cleanly waiting for systemd to start
it up again when needed. This could be used by ssh for example, triggered
when the last user logs out.

On Tue, Jul 9, 2013 at 1:49 PM, Lennart Poettering
<lennart at poettering.net>wrote:

> On Tue, 09.07.13 13:01, Shawn (shawnlandden at gmail.com) wrote:
> Heya,
> "reuse" is an english word, hence no need to put a middle capital letter
> in it, i.e. "ReUsePort" looks wrong, "ReusePort" looks better.
> The thing is a boolean, so it should have type "bool". It's not an int.
> Also, there are tabs in the sources, please use spaces instead.
> How precisely is this supposed to be used, can you provide an example?
> Lennart
> --
> Lennart Poettering - Red Hat, Inc.


Shawn Landden
+1 360 389 3001 (SMS preferred)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130710/5580cda0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-basic-SO_REUSEPORT-support.patch
Type: application/octet-stream
Size: 4992 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130710/5580cda0/attachment.obj>

More information about the systemd-devel mailing list