2020-11-09 04:23:58 +00:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2017-11-18 16:35:03 +00:00
|
|
|
#
|
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
|
|
|
|
Conflicts=shutdown.target
|
|
|
|
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
|
2017-08-31 09:37:11 +00:00
|
|
|
StateDirectory=systemd/backlight
|