]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-backlight@.service.in
Merge pull request #14017 from poettering/analyze-calendar-tweaks
[thirdparty/systemd.git] / units / systemd-backlight@.service.in
index 5e6706c11c414a2958aced2a65ab5cdd824a57c4..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,7 +11,6 @@
 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-remount-fs.service
 Before=sysinit.target shutdown.target
@@ -20,3 +21,4 @@ RemainAfterExit=yes
 ExecStart=@rootlibexecdir@/systemd-backlight load %i
 ExecStop=@rootlibexecdir@/systemd-backlight save %i
 TimeoutSec=90s
+StateDirectory=systemd/backlight