chiark / gitweb /
units: make use of nspawn's --keep-unit switch in systemd-nspawn@.service
authorLennart Poettering <lennart@poettering.net>
Tue, 11 Feb 2014 20:07:09 +0000 (21:07 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 11 Feb 2014 20:13:51 +0000 (21:13 +0100)
units/systemd-nspawn@.service.in

index 8e00736498a2485cdce6ad338def44c82f28d610..ff36e901f030cb5caea14aa6180138593ad02cd2 100644 (file)
@@ -10,7 +10,7 @@ Description=Container %i
 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]