Mantas, On Thu, Oct 11, 2012 at 9:46 AM, Mantas Mikulėnas <[email protected]> wrote:
> When you have "Accept=false", systemd only passes your program the > listener socket, which is not connected to any client – systemd > expects the program to call accept() itself for every client. OK, this explanation is clear, although I was under impression that with accept=false I can just use stdin/stdout for a socket (just like it works with socat) > If you want inetd-style socket activation, with the program's > stdin/stdout being connected to the client directly, use > "Accept=true". And then perhaps with MaxConnections=1 to simulate a singleton service (which I need). Thanks. I'll try this. -- Dmitry Golubovsky Anywhere on the Web _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
