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 10:24:43 +0900 |
commit | 059cc610b735134afa68a13feddc131c7bf6498e (patch) | |
tree | b510cd827bd39fdef3d4f13a7231de4831f07a85 /units/systemd-journal-upload.service.in | |
parent | 6b1aac3ccf3a554011a1a6030672fa5b5c4b4f77 (diff) | |
download | systemd-059cc610b735134afa68a13feddc131c7bf6498e.tar.gz |
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-journal-upload.service.in')
-rw-r--r-- | units/systemd-journal-upload.service.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/units/systemd-journal-upload.service.in b/units/systemd-journal-upload.service.in index ba6b6e7344..e4359a80e4 100644 --- a/units/systemd-journal-upload.service.in +++ b/units/systemd-journal-upload.service.in @@ -15,7 +15,7 @@ After=network-online.target [Service] DynamicUser=yes -ExecStart=@rootlibexecdir@/systemd-journal-upload --save-state +ExecStart={{ROOTLIBEXECDIR}}/systemd-journal-upload --save-state LockPersonality=yes MemoryDenyWriteExecute=yes PrivateDevices=yes @@ -33,11 +33,11 @@ StateDirectory=systemd/journal-upload SupplementaryGroups=systemd-journal SystemCallArchitectures=native User=systemd-journal-upload -@SERVICE_WATCHDOG@ +{{SERVICE_WATCHDOG}} # If there are many split up journal files we need a lot of fds to access them # all in parallel. -LimitNOFILE=@HIGH_RLIMIT_NOFILE@ +LimitNOFILE={{HIGH_RLIMIT_NOFILE}} [Install] WantedBy=multi-user.target |