]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-rfkill.service.in
Merge pull request #12267 from keszybz/udev-settle-warning
[thirdparty/systemd.git] / units / systemd-rfkill.service.in
index 780a19b99619f4dfea331784207bc7bbcbfe43ab..3abb958310dbb8b09c655d7fde61fa4f32bb1c90 100644 (file)
@@ -1,3 +1,5 @@
+#  SPDX-License-Identifier: LGPL-2.1+
+#
 #  This file is part of systemd.
 #
 #  systemd is free software; you can redistribute it and/or modify it
 Description=Load/Save RF Kill Switch Status
 Documentation=man:systemd-rfkill.service(8)
 DefaultDependencies=no
-RequiresMountsFor=/var/lib/systemd/rfkill
 BindsTo=sys-devices-virtual-misc-rfkill.device
 Conflicts=shutdown.target
 After=sys-devices-virtual-misc-rfkill.device systemd-remount-fs.service
 Before=shutdown.target
 
 [Service]
-Type=notify
 ExecStart=@rootlibexecdir@/systemd-rfkill
+NoNewPrivileges=yes
+StateDirectory=systemd/rfkill
 TimeoutSec=30s
+Type=notify