chiark / gitweb /
units: make use of nspawn's --keep-unit switch in systemd-nspawn@.service
[elogind.git] / units / systemd-nspawn@.service.in
index 8e00736498a2485cdce6ad338def44c82f28d610..ff36e901f030cb5caea14aa6180138593ad02cd2 100644 (file)
@@ -10,7 +10,7 @@ Description=Container %i
 Documentation=man:systemd-nspawn(1)
 
 [Service]
 Documentation=man:systemd-nspawn(1)
 
 [Service]
-ExecStart=@bindir@/systemd-nspawn -bjD /var/lib/container/%i
+ExecStart=@bindir@/systemd-nspawn --quiet --keep-unit --boot --link-journal=guest --directory=/var/lib/container/%i
 Type=notify
 
 [Install]
 Type=notify
 
 [Install]