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