diff options
| author | aszlig <aszlig@redmoonstudios.org> | 2017-08-30 02:36:34 +0200 |
|---|---|---|
| committer | Tobias Brunner <tobias@strongswan.org> | 2017-10-10 11:11:11 +0200 |
| commit | 59db98fb941ca2c30b9d5c83da2fc7ae475ebeec (patch) | |
| tree | 3c59696adbac3b8cf785da200dc68d00602f6f6d /src/libcharon/plugins/socket_default | |
| parent | ea613d5d276f31aed9d7de3f3e28fe1b786b983a (diff) | |
| download | strongswan-59db98fb941c.tar.bz2 strongswan-59db98fb941c.tar.xz | |
stream: Add basic stream service for systemd sockets
This allows systemd socket activation by passing URIs such as systemd://foo
to plugins such as VICI.
For example setting charon.plugins.vici.socket = systemd://vici, a
systemd socket file descriptor with the name "vici" will be picked up.
So these would be the corresponding unit options:
[Socket]
FileDescriptorName=vici
Service=strongswan.service
ListenStream=/run/charon.vici
The implementation currently is very basic and right now only the first
file descriptor for a particular identifier is picked up if there are
multiple socket units with the same FileDescriptorName.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Closes strongswan/strongswan#79.
Diffstat (limited to 'src/libcharon/plugins/socket_default')
0 files changed, 0 insertions, 0 deletions
