]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-journald-dev-log.socket
added alternative version of SurfTab Twin
[thirdparty/systemd.git] / units / systemd-journald-dev-log.socket
CommitLineData
a7df2d1e
ZJS
1# SPDX-License-Identifier: LGPL-2.1+
2#
03ee5c38
LP
3# This file is part of systemd.
4#
5# systemd is free software; you can redistribute it and/or modify it
6# under the terms of the GNU Lesser General Public License as published by
7# the Free Software Foundation; either version 2.1 of the License, or
8# (at your option) any later version.
9
10[Unit]
11Description=Journal Socket (/dev/log)
12Documentation=man:systemd-journald.service(8) man:journald.conf(5)
13DefaultDependencies=no
14Before=sockets.target
15
16# Mount and swap units need this. If this socket unit is removed by an
17# isolate request the mount and swap units would be removed too,
18# hence let's exclude this from isolate requests.
19IgnoreOnIsolate=yes
20
21[Socket]
5e8b767d 22Service=systemd-journald.service
03ee5c38
LP
23ListenDatagram=/run/systemd/journal/dev-log
24Symlinks=/dev/log
25SocketMode=0666
26PassCredentials=yes
27PassSecurity=yes
5e8b767d
LP
28
29# Increase both the send and receive buffer, so that things don't
30# block early. Note that journald internally uses the this socket both
31# for receiving syslog messages, and for forwarding them to any other
32# syslog, hence we bump both values.
03ee5c38 33ReceiveBuffer=8M
5e8b767d 34SendBuffer=8M