mirror of
https://github.com/systemd/systemd
synced 2025-10-06 00:13:24 +02:00
Refer to d766c75acd
for the rationale
behind the udevd change.
systemd-journald.service conflicts with soft-reboot.target,
so make sure anything surviving soft-reboot and trying
to log to journal doesn't fail the socket units.
24 lines
667 B
SYSTEMD
24 lines
667 B
SYSTEMD
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
#
|
|
# This file is part of systemd.
|
|
#
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
# 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
|
|
# (at your option) any later version.
|
|
|
|
[Unit]
|
|
Description=udev Control Socket
|
|
Documentation=man:systemd-udevd-control.socket(8) man:udev(7)
|
|
DefaultDependencies=no
|
|
Before=sockets.target
|
|
ConditionPathIsReadWrite=/sys
|
|
|
|
[Socket]
|
|
Service=systemd-udevd.service
|
|
ListenSequentialPacket=/run/udev/control
|
|
SocketMode=0600
|
|
PassCredentials=yes
|
|
RemoveOnStop=yes
|
|
DeferTrigger=yes
|