]>
Commit | Line | Data |
---|---|---|
a032b68d | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
52ad194e | 2 | # |
60f067b4 JS |
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] | |
11 | Description=Journal Socket (/dev/log) | |
12 | Documentation=man:systemd-journald.service(8) man:journald.conf(5) | |
13 | DefaultDependencies=no | |
14 | Before=sockets.target | |
15 | ||
086111aa LB |
16 | # Mount and swap units need this. If this socket unit is removed by an isolate |
17 | # request the mount and swap units would be removed too, hence let's exclude | |
18 | # systemd-journald and its sockets from isolate requests. | |
60f067b4 JS |
19 | IgnoreOnIsolate=yes |
20 | ||
21 | [Socket] | |
22 | ListenDatagram=/run/systemd/journal/dev-log | |
60f067b4 JS |
23 | PassCredentials=yes |
24 | PassSecurity=yes | |
a032b68d MB |
25 | Service=systemd-journald.service |
26 | SocketMode=0666 | |
27 | Symlinks=/dev/log | |
28 | Timestamping=us | |
5eef597e MP |
29 | |
30 | # Increase both the send and receive buffer, so that things don't | |
31 | # block early. Note that journald internally uses the this socket both | |
32 | # for receiving syslog messages, and for forwarding them to any other | |
33 | # syslog, hence we bump both values. | |
60f067b4 | 34 | ReceiveBuffer=8M |
5eef597e | 35 | SendBuffer=8M |