On Tue, 05.04.11 08:23, Albert Strasheim ([email protected]) wrote:

> Hello all
> 
> I have the following socket unit:
> 
> [Unit]
> Description=unix sock
> 
> [Socket]
> ListenStream=@foo/%i
> Backlog=128
> Service=foo@%i.service
> 
> [Install]
> [email protected]
> Alias=sockets.target.wants/[email protected]
> [email protected]
> Alias=sockets.target.wants/[email protected]
> [email protected]
> Alias=sockets.target.wants/[email protected]
> 
> so that I can configure a socket per device, where each device is
> handled by a separate service instance.
> 
> However, ListenStream= doesn't seem to understand %i, because it
> listens on @foo/%i (no substitution), causing [email protected] and
> [email protected] to fail on startup.

Yupp. ListenFoo= currently doesn't do substitution right now. It
probably should. I added this to the TODO list now.

(Pacthes always welcome btw!)

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to