2013-08-13 23:57:02 +00:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
2014-03-07 00:50:34 +00:00
|
|
|
Description=Load/Save Screen Backlight Brightness of %i
|
2013-08-13 23:57:02 +00:00
|
|
|
Documentation=man:systemd-backlight@.service(8)
|
|
|
|
DefaultDependencies=no
|
2013-10-02 11:46:24 +00:00
|
|
|
RequiresMountsFor=/var/lib/systemd/backlight
|
2013-08-13 23:57:02 +00:00
|
|
|
Conflicts=shutdown.target
|
2014-08-26 19:17:22 +00:00
|
|
|
After=systemd-remount-fs.service
|
2013-08-13 23:57:02 +00:00
|
|
|
Before=sysinit.target shutdown.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
2014-03-07 00:50:34 +00:00
|
|
|
ExecStart=@rootlibexecdir@/systemd-backlight load %i
|
|
|
|
ExecStop=@rootlibexecdir@/systemd-backlight save %i
|
2015-02-02 20:34:32 +00:00
|
|
|
TimeoutSec=90s
|