]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/syslog.socket
units: rename rtc-set.target to time-sync.target and pull it in by hwclock-load.service
[thirdparty/systemd.git] / units / syslog.socket
CommitLineData
52f319b2
LP
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]
11Description=Syslog Socket
12DefaultDependencies=no
5cf18f77 13Before=sockets.target syslog.target
52f319b2 14
a0e155d4
LP
15# Pull in syslog.target to tell people that /dev/log is now accessible
16Wants=syslog.target
17
52f319b2
LP
18[Socket]
19ListenDatagram=/dev/log
20SocketMode=0666
21
22# The service we activate on incoming traffic is
23# systemd-kmsg-syslogd.service. That doesn't mean however, that this
24# is the main syslog daemon in the system. Another syslog
25# implementation (which might be started via on-boot or another
26# non-socket activation) can take over possession of the socket and
27# terminate systemd-kmsg-syslogd. It could also simply replace the
28# socket in the file system, and leave systemd-kmsg-syslogd untouched.
29
30Service=systemd-kmsg-syslogd.service