]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-rfkill.service.in
hashmap: avoid using TLS in a destructor
[thirdparty/systemd.git] / units / systemd-rfkill.service.in
CommitLineData
a7df2d1e
ZJS
1# SPDX-License-Identifier: LGPL-2.1+
2#
3990f247
LP
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]
d35c1bb1
LP
11Description=Load/Save RF Kill Switch Status
12Documentation=man:systemd-rfkill.service(8)
3990f247 13DefaultDependencies=no
d35c1bb1 14BindsTo=sys-devices-virtual-misc-rfkill.device
3990f247 15Conflicts=shutdown.target
d35c1bb1
LP
16After=sys-devices-virtual-misc-rfkill.device systemd-remount-fs.service
17Before=shutdown.target
3990f247
LP
18
19[Service]
d35c1bb1 20ExecStart=@rootlibexecdir@/systemd-rfkill
3ca9940c 21NoNewPrivileges=yes
181b4f56 22StateDirectory=systemd/rfkill
3ca9940c
LP
23TimeoutSec=30s
24Type=notify