1 # This file is part of systemd.
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.
9 Description=Syslog Socket
10 Documentation=man:systemd.special(7)
11 Documentation=http://www.freedesktop.org/wiki/Software/systemd/syslog
12 DefaultDependencies=no
13 Before=sockets.target shutdown.target
15 # Don't allow logging until the very end
16 Conflicts=shutdown.target
19 ListenDatagram=/run/systemd/journal/syslog
25 # The default syslog implementation should make syslog.service a
26 # symlink to itself, so that this socket activates the right actual
31 # /etc/systemd/system/syslog.service -> /lib/systemd/system/rsyslog.service
32 # /etc/systemd/system/syslog.service -> /lib/systemd/system/syslog-ng.service
34 # Best way to achieve that is by adding this to your unit file
35 # (i.e. to rsyslog.service or syslog-ng.service):
38 # Alias=syslog.service
40 # See http://www.freedesktop.org/wiki/Software/systemd/syslog for details.