]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-journald.socket
Merge pull request #12511 from ssahani/high-avilability-12050
[thirdparty/systemd.git] / units / systemd-journald.socket
CommitLineData
a7df2d1e
ZJS
1# SPDX-License-Identifier: LGPL-2.1+
2#
4b2d99d9
LP
3# This file is part of systemd.
4#
5# systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
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
4b2d99d9
LP
8# (at your option) any later version.
9
4b2d99d9
LP
10[Unit]
11Description=Journal Socket
ee1c0ad4 12Documentation=man:systemd-journald.service(8) man:journald.conf(5)
4b2d99d9 13DefaultDependencies=no
5d4caf56 14Before=sockets.target
4b2d99d9
LP
15
16# Mount and swap units need this. If this socket unit is removed by an
5eec7de6 17# isolate request the mount and swap units would be removed too,
4b2d99d9
LP
18# hence let's exclude this from isolate requests.
19IgnoreOnIsolate=yes
20
21[Socket]
259d2e76
LP
22ListenStream=/run/systemd/journal/stdout
23ListenDatagram=/run/systemd/journal/socket
4b2d99d9 24SocketMode=0666
271b032a 25PassCredentials=yes
54ecda32 26PassSecurity=yes
bb99a35a 27ReceiveBuffer=8M
03ee5c38 28Service=systemd-journald.service