chiark / gitweb /
journal: fix symbol versioning file
[elogind.git] / units / syslog.socket
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
8 [Unit]
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 syslog.target shutdown.target
14
15 # Don't allow logging until the very end
16 Conflicts=shutdown.target
17
18 # Pull in syslog.target to tell people that /dev/log is now accessible
19 Wants=syslog.target
20
21 [Socket]
22 ListenDatagram=/run/systemd/journal/syslog
23 SocketMode=0666
24 PassCredentials=yes
25 PassSecurity=yes
26 ReceiveBuffer=8M
27
28 # The default syslog implementation should make syslog.service a
29 # symlink to itself, so that this socket activates the right actual
30 # syslog service.
31 #
32 # Examples:
33 #
34 # /etc/systemd/system/syslog.service -> /lib/systemd/system/rsyslog.service
35 # /etc/systemd/system/syslog.service -> /lib/systemd/system/syslog-ng.service
36 #
37 # Best way to achieve that is by adding this to your unit file
38 # (i.e. to rsyslog.service or syslog-ng.service):
39 #
40 # [Install]
41 # Alias=syslog.service
42 #
43 # See http://www.freedesktop.org/wiki/Software/systemd/syslog for details.