summaryrefslogtreecommitdiff
path: root/units/systemd-backlight@.service.in
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-08-31 18:37:11 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2017-08-31 18:37:11 +0900
commit181b4f56e7b5b201311e0056e99d0d1312f6fcc1 (patch)
tree01c157bf1a81997068b4a45f1870a825b259868a /units/systemd-backlight@.service.in
parent96f9f6aca759f8bbad29c111f2bf4c902b527380 (diff)
downloadsystemd-181b4f56e7b5b201311e0056e99d0d1312f6fcc1.tar.gz
unit: use StateDirectory= instead of RequiresMountsFor=
Diffstat (limited to 'units/systemd-backlight@.service.in')
-rw-r--r--units/systemd-backlight@.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-backlight@.service.in b/units/systemd-backlight@.service.in
index 5e6706c11c..9aa0c7498d 100644
--- a/units/systemd-backlight@.service.in
+++ b/units/systemd-backlight@.service.in
@@ -9,7 +9,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 +19,4 @@ RemainAfterExit=yes
ExecStart=@rootlibexecdir@/systemd-backlight load %i
ExecStop=@rootlibexecdir@/systemd-backlight save %i
TimeoutSec=90s
+StateDirectory=systemd/backlight