man,units: fix installation of systemd-nspawn@.service and add example

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2013-11-09 19:02:53 -05:00
parent c0fd7cbd7a
commit 9cb74bcb23
3 changed files with 14 additions and 1 deletions
+12
View File
@@ -409,6 +409,18 @@
boots an OS in a namespace container in it.</para>
</refsect1>
<refsect1>
<title>Example 4</title>
<programlisting># mv ~/arch-tree /var/lib/container/arch
# systemctl enable systemd-nspawn@arch.service
# systemctl start systemd-nspawn@arch.service</programlisting>
<para>This makes the Arch Linux container part of the
<filename>multi-user.target</filename> on the host.
</para>
</refsect1>
<refsect1>
<title>Exit status</title>