systemd-journald-dev-log.socket 1.1 KB

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