]>
Commit | Line | Data |
---|---|---|
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=Journal Socket | |
12 | DefaultDependencies=no | |
13 | Before=sockets.target syslog.target | |
14 | ||
15 | # Mount and swap units need this. If this socket unit is removed by an | |
16 | # isolate request the mount and and swap units would be removed too, | |
17 | # hence let's exclude this from isolate requests. | |
18 | IgnoreOnIsolate=yes | |
19 | ||
20 | [Socket] | |
21 | ListenStream=/run/systemd/journal/stdout | |
22 | ListenDatagram=/run/systemd/journal/socket | |
23 | ListenDatagram=/dev/log | |
24 | SocketMode=0666 | |
25 | PassCredentials=yes | |
26 | ReceiveBuffer=8M |