diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2017-08-31 11:37:11 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2017-08-31 11:37:11 +0200 |
commit | 181b4f56e7b5b201311e0056e99d0d1312f6fcc1 (patch) | |
tree | 01c157bf1a81997068b4a45f1870a825b259868a /units/systemd-backlight@.service.in | |
parent | unit: drop redundant options (diff) | |
download | systemd-181b4f56e7b5b201311e0056e99d0d1312f6fcc1.tar.xz systemd-181b4f56e7b5b201311e0056e99d0d1312f6fcc1.zip |
unit: use StateDirectory= instead of RequiresMountsFor=
Diffstat (limited to 'units/systemd-backlight@.service.in')
-rw-r--r-- | units/systemd-backlight@.service.in | 2 |
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 |