Re: [systemd-devel] Getting EOF on FD#1 stdout (a service using socat)

2015-07-27 Thread Christian Seiler
Am 2015-07-27 12:31, schrieb John Lane: I have a problem with what I thought would be a simple service unit: # /etc/systemd/system/socat.service [Service] ExecStart=/usr/bin/socat UDP-RECV:4321 STDOUT The expected outcome is that /usr/bin/socat UDP-RECV:4321 STDOUT is started with

Re: [systemd-devel] Getting EOF on FD#1 stdout (a service using socat)

2015-07-27 Thread John Lane
Try using `socat -u` for unidirectional mode. Yes that was it. Thank you. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Getting EOF on FD#1 stdout (a service using socat)

2015-07-27 Thread Lennart Poettering
On Mon, 27.07.15 11:31, John Lane (syst...@jelmail.com) wrote: I have a problem with what I thought would be a simple service unit: # /etc/systemd/system/socat.service [Service] ExecStart=/usr/bin/socat UDP-RECV:4321 STDOUT The expected outcome is that /usr/bin/socat

Re: [systemd-devel] Getting EOF on FD#1 stdout (a service using socat)

2015-07-27 Thread Mantas Mikulėnas
On Mon, Jul 27, 2015 at 1:31 PM, John Lane syst...@jelmail.com wrote: I have a problem with what I thought would be a simple service unit: # /etc/systemd/system/socat.service [Service] ExecStart=/usr/bin/socat UDP-RECV:4321 STDOUT The expected outcome is that /usr/bin/socat

[systemd-devel] Getting EOF on FD#1 stdout (a service using socat)

2015-07-27 Thread John Lane
I have a problem with what I thought would be a simple service unit: # /etc/systemd/system/socat.service [Service] ExecStart=/usr/bin/socat UDP-RECV:4321 STDOUT The expected outcome is that /usr/bin/socat UDP-RECV:4321 STDOUT is started with its standard output connected to the