systemd and StandardOutput not going to a file
James Wilkinson
fedora at aprilcottage.co.uk
Wed Mar 14 21:36:18 UTC 2012
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”…
James.
--
E-mail: james@ | "But alas, we don't need a car, so I have a bus timetable
aprilcottage.co.uk | and one day the buses will read it too."
| -- Telsa Gwynne
More information about the users
mailing list