]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-journald-dev-log.socket
Merge pull request #12738 from yuwata/network-routing-policy-cleanup
[thirdparty/systemd.git] / units / systemd-journald-dev-log.socket
index c01b310b40c3957876c96ec741395c17a67d170f..80ad6ac845f473efcd3ef0f712ab0c0d330f1f57 100644 (file)
@@ -1,3 +1,5 @@
+#  SPDX-License-Identifier: LGPL-2.1+
+#
 #  This file is part of systemd.
 #
 #  systemd is free software; you can redistribute it and/or modify it
@@ -17,10 +19,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