]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-backlight@.service.in
Merge pull request #12267 from keszybz/udev-settle-warning
[thirdparty/systemd.git] / units / systemd-backlight@.service.in
index e945d8733f881139d16cd9d100e6610c4c6dd2f8..d3022856f2d7357f1715f25f56b838c246419864 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
@@ -9,9 +11,8 @@
 Description=Load/Save Screen Backlight Brightness of %i
 Documentation=man:systemd-backlight@.service(8)
 DefaultDependencies=no
-RequiresMountsFor=/var/lib/systemd/backlight
 Conflicts=shutdown.target
-After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service
+After=systemd-remount-fs.service
 Before=sysinit.target shutdown.target
 
 [Service]
@@ -19,3 +20,5 @@ Type=oneshot
 RemainAfterExit=yes
 ExecStart=@rootlibexecdir@/systemd-backlight load %i
 ExecStop=@rootlibexecdir@/systemd-backlight save %i
+TimeoutSec=90s
+StateDirectory=systemd/backlight