summaryrefslogtreecommitdiff
path: root/units/systemd-nspawn@.service.in
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-05-16 19:08:50 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-05-19 10:24:43 +0900
commitfa1045168621eeb022b950075df7d871ece90b63 (patch)
tree7cf4c7ee44b2233457c20ec26245e12bbeb2c099 /units/systemd-nspawn@.service.in
parent059cc610b735134afa68a13feddc131c7bf6498e (diff)
downloadsystemd-fa1045168621eeb022b950075df7d871ece90b63.tar.gz
units: strip out the developer comment in .service unit again
The comment talks about upstream development steps and doesn't make sense for users. We used special '## ' syntax to strip it out during build, but it got inadvertently reformatted as a normal comment in 3982becc92197b920d86f03c3c52ae085e26ca60.
Diffstat (limited to 'units/systemd-nspawn@.service.in')
-rw-r--r--units/systemd-nspawn@.service.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/units/systemd-nspawn@.service.in b/units/systemd-nspawn@.service.in
index 83761e7e8b..d7bae83ac2 100644
--- a/units/systemd-nspawn@.service.in
+++ b/units/systemd-nspawn@.service.in
@@ -28,9 +28,9 @@ Delegate=yes
TasksMax=16384
{{SERVICE_WATCHDOG}}
-# Enforce a strict device policy, similar to the one nspawn configures when it
-# allocates its own scope unit. Make sure to keep these policies in sync if you
-# change them!
+{# Enforce a strict device policy, similar to the one nspawn configures when it
+ # allocates its own scope unit. Make sure to keep these policies in sync if you
+ # change them! #}
DevicePolicy=closed
DeviceAllow=/dev/net/tun rwm
DeviceAllow=char-pts rw