2013-04-30 00:11:37 +00:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
2014-12-29 11:38:26 +00:00
|
|
|
Description=Container %I
|
2013-04-30 00:11:37 +00:00
|
|
|
Documentation=man:systemd-nspawn(1)
|
2014-12-29 11:38:26 +00:00
|
|
|
PartOf=machines.target
|
|
|
|
Before=machines.target
|
2013-04-30 00:11:37 +00:00
|
|
|
|
|
|
|
[Service]
|
2014-12-29 11:38:26 +00:00
|
|
|
ExecStart=@bindir@/systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --machine=%I
|
2014-05-28 15:17:25 +00:00
|
|
|
KillMode=mixed
|
2013-04-30 00:11:37 +00:00
|
|
|
Type=notify
|
2014-07-03 10:50:11 +00:00
|
|
|
RestartForceExitStatus=133
|
|
|
|
SuccessExitStatus=133
|
2014-11-05 16:57:23 +00:00
|
|
|
Delegate=yes
|
2013-04-30 00:11:37 +00:00
|
|
|
|
|
|
|
[Install]
|
2014-12-29 11:38:26 +00:00
|
|
|
WantedBy=machines.target
|