diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-05-16 11:55:36 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-05-19 03:24:43 +0200 |
commit | 059cc610b735134afa68a13feddc131c7bf6498e (patch) | |
tree | b510cd827bd39fdef3d4f13a7231de4831f07a85 /units/systemd-backlight@.service.in | |
parent | meson: replace some m4 templates with jinja2 (diff) | |
download | systemd-059cc610b735134afa68a13feddc131c7bf6498e.tar.xz systemd-059cc610b735134afa68a13feddc131c7bf6498e.zip |
meson: use jinja2 for unit templates
We don't need two (and half) templating systems anymore, yay!
I'm keeping the changes minimal, to make the diff manageable. Some enhancements
due to a better templating system might be possible in the future.
For handling of '## ' — see the next commit.
Diffstat (limited to 'units/systemd-backlight@.service.in')
-rw-r--r-- | units/systemd-backlight@.service.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/units/systemd-backlight@.service.in b/units/systemd-backlight@.service.in index 317aa38745..4830a6a217 100644 --- a/units/systemd-backlight@.service.in +++ b/units/systemd-backlight@.service.in @@ -17,7 +17,7 @@ Before=sysinit.target shutdown.target [Service] Type=oneshot RemainAfterExit=yes -ExecStart=@rootlibexecdir@/systemd-backlight load %i -ExecStop=@rootlibexecdir@/systemd-backlight save %i +ExecStart={{ROOTLIBEXECDIR}}/systemd-backlight load %i +ExecStop={{ROOTLIBEXECDIR}}/systemd-backlight save %i TimeoutSec=90s StateDirectory=systemd/backlight |