X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-journald-dev-log.socket;h=ffd44bb507a20bc54d0aba7a89e3dd053aafc763;hp=c01b310b40c3957876c96ec741395c17a67d170f;hb=d99ce93383028f08470b6d334bc1a31ca8d16b22;hpb=03ee5c38cb0da193dd08733fb4c0c2809cee6a99 diff --git a/units/systemd-journald-dev-log.socket b/units/systemd-journald-dev-log.socket index c01b310b4..ffd44bb50 100644 --- a/units/systemd-journald-dev-log.socket +++ b/units/systemd-journald-dev-log.socket @@ -17,10 +17,16 @@ Before=sockets.target IgnoreOnIsolate=yes [Socket] +Service=systemd-journald.service ListenDatagram=/run/systemd/journal/dev-log Symlinks=/dev/log SocketMode=0666 PassCredentials=yes PassSecurity=yes + +# Increase both the send and receive buffer, so that things don't +# block early. Note that journald internally uses the this socket both +# for receiving syslog messages, and for forwarding them to any other +# syslog, hence we bump both values. ReceiveBuffer=8M -Service=systemd-journald.service +SendBuffer=8M