chiark / gitweb /
headers: fix git URLs for source files
[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 General Public License as published by
5 #  the Free Software Foundation; either version 2 of the License, or
6 #  (at your option) any later version.
7
8 # See systemd.special(7) for details
9
10 [Unit]
11 Description=Syslog Socket
12 DefaultDependencies=no
13 Before=sockets.target syslog.target
14
15 # Pull in syslog.target to tell people that /dev/log is now accessible
16 Wants=syslog.target
17
18 [Socket]
19 ListenDatagram=/run/systemd/syslog
20 SocketMode=0666
21 PassCredentials=yes
22
23 # The service we activate on incoming traffic is
24 # systemd-kmsg-syslogd.service. That doesn't mean however, that this
25 # is the main syslog daemon in the system. Another syslog
26 # implementation (which might be started via on-boot or another
27 # non-socket activation) can take over possession of the socket and
28 # terminate systemd-kmsg-syslogd. It could also simply replace the
29 # socket in the file system, and leave systemd-kmsg-syslogd untouched.
30
31 Service=systemd-kmsg-syslogd.service