]>
Commit | Line | Data |
---|---|---|
03ee5c38 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 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=Journal Socket (/dev/log) | |
10 | Documentation=man:systemd-journald.service(8) man:journald.conf(5) | |
11 | DefaultDependencies=no | |
12 | Before=sockets.target | |
13 | ||
14 | # Mount and swap units need this. If this socket unit is removed by an | |
15 | # isolate request the mount and swap units would be removed too, | |
16 | # hence let's exclude this from isolate requests. | |
17 | IgnoreOnIsolate=yes | |
18 | ||
19 | [Socket] | |
5e8b767d | 20 | Service=systemd-journald.service |
03ee5c38 LP |
21 | ListenDatagram=/run/systemd/journal/dev-log |
22 | Symlinks=/dev/log | |
23 | SocketMode=0666 | |
24 | PassCredentials=yes | |
25 | PassSecurity=yes | |
5e8b767d LP |
26 | |
27 | # Increase both the send and receive buffer, so that things don't | |
28 | # block early. Note that journald internally uses the this socket both | |
29 | # for receiving syslog messages, and for forwarding them to any other | |
30 | # syslog, hence we bump both values. | |
03ee5c38 | 31 | ReceiveBuffer=8M |
5e8b767d | 32 | SendBuffer=8M |