52f319b29398d36ed8d1a70f68a170c0a85f401dLennart Poettering# This file is part of systemd.
52f319b29398d36ed8d1a70f68a170c0a85f401dLennart Poettering# systemd is free software; you can redistribute it and/or modify it
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering# under the terms of the GNU Lesser General Public License as published by
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering# the Free Software Foundation; either version 2.1 of the License, or
52f319b29398d36ed8d1a70f68a170c0a85f401dLennart Poettering# (at your option) any later version.
52f319b29398d36ed8d1a70f68a170c0a85f401dLennart PoetteringDescription=Syslog Socket
49dbfa7b2b0bf3906704dac1eaeb4eba91056a19Lennart PoetteringDocumentation=man:systemd.special(7)
49dbfa7b2b0bf3906704dac1eaeb4eba91056a19Lennart PoetteringDocumentation=http://www.freedesktop.org/wiki/Software/systemd/syslog
52f319b29398d36ed8d1a70f68a170c0a85f401dLennart PoetteringDefaultDependencies=no
746e436dc54510fe142f5046a557e5006bc7e2aaLennart Poettering# Don't allow logging until the very end
259d2e762041d8d50c2a17bfea90b1a96f6b880bLennart PoetteringListenDatagram=/run/systemd/journal/syslog
52f319b29398d36ed8d1a70f68a170c0a85f401dLennart PoetteringSocketMode=0666
271b032a053f9d4a1be271bb052276ae27fe36c6Lennart PoetteringPassCredentials=yes
54ecda32c60c6f2548f74703bfd324694393edaaLennart PoetteringPassSecurity=yes
bb99a35a873c35e80b0b47fe045081022660374dLennart PoetteringReceiveBuffer=8M
4c0bebc335c279ecaea6fc0eb0acaa8c49c477b6Lennart Poettering# The default syslog implementation should make syslog.service a
4c0bebc335c279ecaea6fc0eb0acaa8c49c477b6Lennart Poettering# symlink to itself, so that this socket activates the right actual
4c0bebc335c279ecaea6fc0eb0acaa8c49c477b6Lennart Poettering# syslog service.
4c0bebc335c279ecaea6fc0eb0acaa8c49c477b6Lennart Poettering# /etc/systemd/system/syslog.service -> /lib/systemd/system/rsyslog.service
4c0bebc335c279ecaea6fc0eb0acaa8c49c477b6Lennart Poettering# /etc/systemd/system/syslog.service -> /lib/systemd/system/syslog-ng.service
4c0bebc335c279ecaea6fc0eb0acaa8c49c477b6Lennart Poettering# Best way to achieve that is by adding this to your unit file
4c0bebc335c279ecaea6fc0eb0acaa8c49c477b6Lennart Poettering# (i.e. to rsyslog.service or syslog-ng.service):