systemd and StandardOutput not going to a file

suvayu ali fatkasuvayu+linux at gmail.com
Wed Mar 14 22:20:17 UTC 2012


On Wed, Mar 14, 2012 at 22:36, James Wilkinson
<fedora at aprilcottage.co.uk> wrote:
> Martín Marqués wrote:
>> Can someone tell me why one can't configure StandardOutput in systemd
>> to go to a file?
>
> suvayu ali wrote:
>> I could.
>>
>> $ systemctl status sshd.service > /tmp/bla
>
> That’s standard output of systemctl, not StandardOutput the directive in
> systemd unit files.
>
> I suspect the answer lies somewhere between “you can send it to rsyslog
> and get that to send it to a file” and “no-one’s asked for it”…

Ah, my ignorance. Sorry for the noise.

-- 
Suvayu

Open source is the future. It sets us free.


More information about the users mailing list