diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-10-26 17:41:06 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-10-27 14:13:03 +0100 |
commit | 02229dff2b371f3a6235fe18ea72e972ddbc90a9 (patch) | |
tree | a7c956f124854afecba3e900ea4a761824b4a8fe /units/systemd-journald.socket | |
parent | man: document the new Timestamping= option (diff) | |
download | systemd-02229dff2b371f3a6235fe18ea72e972ddbc90a9.tar.xz systemd-02229dff2b371f3a6235fe18ea72e972ddbc90a9.zip |
units: turn on timestamping for journald sockets
To make things simple and robust when debugging journald, we'll leave
the SO_TIMESTAMP invocations in the C code in place, even if they are
now typically redundant, given that the sockets are already passed into
the process with SO_TIMESTAMP turned on now.
Diffstat (limited to 'units/systemd-journald.socket')
-rw-r--r-- | units/systemd-journald.socket | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/units/systemd-journald.socket b/units/systemd-journald.socket index c95ae5ab64..95d5f21964 100644 --- a/units/systemd-journald.socket +++ b/units/systemd-journald.socket @@ -19,10 +19,11 @@ Before=sockets.target IgnoreOnIsolate=yes [Socket] -ListenStream=/run/systemd/journal/stdout ListenDatagram=/run/systemd/journal/socket -SocketMode=0666 +ListenStream=/run/systemd/journal/stdout PassCredentials=yes PassSecurity=yes ReceiveBuffer=8M Service=systemd-journald.service +SocketMode=0666 +Timestamping=us |