[systemd-devel] Systemd logging..
Tomasz Torcz
tomek at pipebreaker.pl
Thu Nov 22 14:16:48 UTC 2018
On Wed, Nov 21, 2018 at 02:23:50PM +0530, deepan muthusamy wrote:
> Hi,
> How to log systemd service into log.txt file.
> This file should be available after system restart also.
> How to do this?
You can use file:path in StandardOutput=
https://www.freedesktop.org/software/systemd/man/systemd.exec.html#StandardOutput=
--
Tomasz Torcz "Funeral in the morning, IDE hacking
xmpp: zdzichubg at chrome.pl in the afternoon and evening." - Alan Cox
More information about the systemd-devel
mailing list