]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-rfkill@.service.in
Merge pull request #1180 from evverx/dot-from-to-alias-handling
[thirdparty/systemd.git] / units / systemd-rfkill@.service.in
CommitLineData
3990f247
LP
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
4# under the terms of the GNU Lesser General Public License as published by
5# the Free Software Foundation; either version 2.1 of the License, or
6# (at your option) any later version.
7
8[Unit]
9Description=Load/Save RF Kill Switch Status of %I
10Documentation=man:systemd-rfkill@.service(8)
11DefaultDependencies=no
812bd1e6 12BindsTo=sys-subsystem-rfkill-devices-%i.device
3990f247
LP
13RequiresMountsFor=/var/lib/systemd/rfkill
14Conflicts=shutdown.target
d6bc8348 15After=systemd-remount-fs.service
3990f247
LP
16Before=sysinit.target shutdown.target
17
18[Service]
19Type=oneshot
20RemainAfterExit=yes
21ExecStart=@rootlibexecdir@/systemd-rfkill load %I
22ExecStop=@rootlibexecdir@/systemd-rfkill save %I
b53374f9 23TimeoutSec=30s