systemd-backlight@.service 724 B

12345678910111213141516171819202122
  1. # This file is part of systemd.
  2. #
  3. # systemd is free software; you can redistribute it and/or modify it
  4. # under the terms of the GNU Lesser General Public License as published by
  5. # the Free Software Foundation; either version 2.1 of the License, or
  6. # (at your option) any later version.
  7. [Unit]
  8. Description=Load/Save Screen Backlight Brightness of %i
  9. Documentation=man:systemd-backlight@.service(8)
  10. DefaultDependencies=no
  11. RequiresMountsFor=/var/lib/systemd/backlight
  12. Conflicts=shutdown.target
  13. After=systemd-remount-fs.service
  14. Before=sysinit.target shutdown.target
  15. [Service]
  16. Type=oneshot
  17. RemainAfterExit=yes
  18. ExecStart=/lib/systemd/systemd-backlight load %i
  19. ExecStop=/lib/systemd/systemd-backlight save %i
  20. TimeoutSec=90s