2020-11-09 04:23:58 +00:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2017-11-18 16:35:03 +00:00
|
|
|
#
|
2011-12-30 16:50:37 +00:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-11 22:20:58 +00: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 16:50:37 +00:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
2024-03-14 09:16:25 +00:00
|
|
|
Description=Journal Sockets
|
2012-06-26 23:06:35 +00:00
|
|
|
Documentation=man:systemd-journald.service(8) man:journald.conf(5)
|
2011-12-30 16:50:37 +00:00
|
|
|
DefaultDependencies=no
|
2013-01-16 20:09:03 +00:00
|
|
|
Before=sockets.target
|
2011-12-30 16:50:37 +00:00
|
|
|
|
2022-06-29 11:14:37 +00: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 16:50:37 +00:00
|
|
|
IgnoreOnIsolate=yes
|
|
|
|
|
|
|
|
[Socket]
|
2012-01-05 19:24:16 +00:00
|
|
|
ListenDatagram=/run/systemd/journal/socket
|
2020-10-26 16:41:06 +00:00
|
|
|
ListenStream=/run/systemd/journal/stdout
|
2011-12-31 00:07:49 +00:00
|
|
|
PassCredentials=yes
|
2012-03-12 23:00:27 +00:00
|
|
|
PassSecurity=yes
|
2012-01-27 17:57:37 +00:00
|
|
|
ReceiveBuffer=8M
|
2014-06-04 14:37:02 +00:00
|
|
|
Service=systemd-journald.service
|
2020-10-26 16:41:06 +00:00
|
|
|
SocketMode=0666
|
|
|
|
Timestamping=us
|