[systemd-devel] "StandardOutput=console" don't work as expected

Michael Chapman mike at very.puzzling.org
Wed Dec 30 02:52:01 PST 2015


On Wed, 30 Dec 2015, Reindl Harald wrote:
>>  Standard mailing list etiquette is to reply-to-all
>
> on which mailing-list is that the case?
>
> be assured it's NOT standard on the majority
> on most it is considered rude

OK. I'm not going to argue the matter.

>> >  i am asking for StandardOutput=console get piped to the terminal
>> >  systemctl was called - the rest is done by crond as all the years before
>>
>>  That isn't possible at the moment, and I doubt it will ever be
>>  supported. The service is executed by systemd, not systemctl, and there
>>  is no communication channel to return a stream of output from the
>>  command back to systemctl.
>
> since "systemctl start" on the shell waits until the "oneshot" service is 
> finished it can't be impossible that pid 1 geives back the tasks output

Well, it's "impossible" in the sense that systemd doesn't have any code to 
do that, no matter how much you might wish it did.

I don't think there's any point in continuing this discussion any further.

Regards,
Michael


More information about the systemd-devel mailing list