2020-11-09 13:23:58 +09:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2017-11-18 17:35:03 +01:00
|
|
|
#
|
2011-12-30 17:50:37 +01:00
|
|
|
# This file is part of systemd.
|
|
|
|
|
#
|
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 00:20:58 +02:00
|
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
|
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
2011-12-30 17:50:37 +01:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
|
|
[Unit]
|
2024-03-14 10:16:25 +01:00
|
|
|
Description=Journal Sockets
|
2012-06-27 01:06:35 +02:00
|
|
|
Documentation=man:systemd-journald.service(8) man:journald.conf(5)
|
2011-12-30 17:50:37 +01:00
|
|
|
DefaultDependencies=no
|
2013-01-16 21:09:03 +01:00
|
|
|
Before=sockets.target
|
2011-12-30 17:50:37 +01:00
|
|
|
|
2022-06-29 13:14:37 +02:00
|
|
|
# Mount and swap units need this. If this socket unit is removed by an isolate
|
|
|
|
|
# request the mount and swap units would be removed too, hence let's exclude
|
|
|
|
|
# systemd-journald and its sockets from isolate requests.
|
2011-12-30 17:50:37 +01:00
|
|
|
IgnoreOnIsolate=yes
|
|
|
|
|
|
|
|
|
|
[Socket]
|
2012-01-05 20:24:16 +01:00
|
|
|
ListenDatagram=/run/systemd/journal/socket
|
2020-10-26 17:41:06 +01:00
|
|
|
ListenStream=/run/systemd/journal/stdout
|
2011-12-31 01:07:49 +01:00
|
|
|
PassCredentials=yes
|
2012-03-13 00:00:27 +01:00
|
|
|
PassSecurity=yes
|
2012-01-27 18:57:37 +01:00
|
|
|
ReceiveBuffer=8M
|
2014-06-04 16:37:02 +02:00
|
|
|
Service=systemd-journald.service
|
2020-10-26 17:41:06 +01:00
|
|
|
SocketMode=0666
|
|
|
|
|
Timestamping=us
|
2025-05-18 02:24:38 +02:00
|
|
|
DeferTrigger=yes
|