systemd-journald-dev-log.socket 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. # SPDX-License-Identifier: LGPL-2.1+
  2. #
  3. # This file is part of systemd.
  4. #
  5. # systemd is free software; you can redistribute it and/or modify it
  6. # under the terms of the GNU Lesser General Public License as published by
  7. # the Free Software Foundation; either version 2.1 of the License, or
  8. # (at your option) any later version.
  9. [Unit]
  10. Description=Journal Socket (/dev/log)
  11. Documentation=man:systemd-journald.service(8) man:journald.conf(5)
  12. DefaultDependencies=no
  13. Before=sockets.target
  14. # Mount and swap units need this. If this socket unit is removed by an
  15. # isolate request the mount and swap units would be removed too,
  16. # hence let's exclude this from isolate requests.
  17. IgnoreOnIsolate=yes
  18. [Socket]
  19. Service=systemd-journald.service
  20. ListenDatagram=/run/systemd/journal/dev-log
  21. Symlinks=/dev/log
  22. SocketMode=0666
  23. PassCredentials=yes
  24. PassSecurity=yes
  25. # Increase both the send and receive buffer, so that things don't
  26. # block early. Note that journald internally uses the this socket both
  27. # for receiving syslog messages, and for forwarding them to any other
  28. # syslog, hence we bump both values.
  29. ReceiveBuffer=8M
  30. SendBuffer=8M