]> git.ipfire.org Git - thirdparty/systemd.git/blob - units/systemd-rfkill.socket
Merge pull request #32869 from keszybz/dbus-release-session
[thirdparty/systemd.git] / units / systemd-rfkill.socket
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2 #
3 # This file is part of systemd.
4 #
5 # systemd is free software; you can redistribute it and/or modify it
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
8 # (at your option) any later version.
9
10 [Unit]
11 Description=Load/Save RF Kill Switch Status /dev/rfkill Watch
12 Documentation=man:systemd-rfkill.socket(8)
13 ConditionPathExists=!/etc/initrd-release
14
15 DefaultDependencies=no
16 BindsTo=sys-devices-virtual-misc-rfkill.device
17 After=sys-devices-virtual-misc-rfkill.device systemd-remount-fs.service
18 Conflicts=shutdown.target
19 Before=shutdown.target
20 RequiresMountsFor=/var/lib/systemd/rfkill
21
22 [Socket]
23 ListenSpecial=/dev/rfkill
24 Writable=yes