From 059cc610b735134afa68a13feddc131c7bf6498e Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sun, 16 May 2021 11:55:36 +0200 Subject: meson: use jinja2 for unit templates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- units/systemd-journal-remote.service.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'units/systemd-journal-remote.service.in') diff --git a/units/systemd-journal-remote.service.in b/units/systemd-journal-remote.service.in index e48df81e70..d8f28f252c 100644 --- a/units/systemd-journal-remote.service.in +++ b/units/systemd-journal-remote.service.in @@ -13,7 +13,7 @@ Documentation=man:systemd-journal-remote(8) man:journal-remote.conf(5) Requires=systemd-journal-remote.socket [Service] -ExecStart=@rootlibexecdir@/systemd-journal-remote --listen-https=-3 --output=/var/log/journal/remote/ +ExecStart={{ROOTLIBEXECDIR}}/systemd-journal-remote --listen-https=-3 --output=/var/log/journal/remote/ LockPersonality=yes LogsDirectory=journal/remote MemoryDenyWriteExecute=yes @@ -36,11 +36,11 @@ RestrictRealtime=yes RestrictSUIDSGID=yes SystemCallArchitectures=native User=systemd-journal-remote -@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] Also=systemd-journal-remote.socket -- cgit v1.2.3