From 059cc610b735134afa68a13feddc131c7bf6498e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-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-homed.service.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'units/systemd-homed.service.in') diff --git a/units/systemd-homed.service.in b/units/systemd-homed.service.in index 5ac53ca9dc..678bbab65c 100644 --- a/units/systemd-homed.service.in +++ b/units/systemd-homed.service.in @@ -20,10 +20,10 @@ CapabilityBoundingSet=CAP_SYS_ADMIN CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER CAP_FS DeviceAllow=/dev/loop-control rw DeviceAllow=/dev/mapper/control rw DeviceAllow=block-* rw -ExecStart=@rootlibexecdir@/systemd-homed +ExecStart={{ROOTLIBEXECDIR}}/systemd-homed IPAddressDeny=any KillMode=mixed -LimitNOFILE=@HIGH_RLIMIT_NOFILE@ +LimitNOFILE={{HIGH_RLIMIT_NOFILE}} LockPersonality=yes MemoryDenyWriteExecute=yes NoNewPrivileges=yes @@ -34,7 +34,7 @@ StateDirectory=systemd/home SystemCallArchitectures=native SystemCallErrorNumber=EPERM SystemCallFilter=@system-service @mount -@SERVICE_WATCHDOG@ +{{SERVICE_WATCHDOG}} [Install] WantedBy=multi-user.target -- cgit v1.2.1