]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-nspawn@.service.in
service: make restart logic a bit easier to understand
[thirdparty/systemd.git] / units / systemd-nspawn@.service.in
CommitLineData
05947bef
LP
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
4# under the terms of the GNU Lesser General Public License as published by
5# the Free Software Foundation; either version 2.1 of the License, or
6# (at your option) any later version.
7
8[Unit]
6a140df0 9Description=Container %I
05947bef 10Documentation=man:systemd-nspawn(1)
6a140df0
LP
11PartOf=machines.target
12Before=machines.target
05947bef
LP
13
14[Service]
7d5fed66 15ExecStart=@bindir@/systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --network-veth --machine=%I
d8e40d62 16KillMode=mixed
05947bef 17Type=notify
ce38dbc8
LP
18RestartForceExitStatus=133
19SuccessExitStatus=133
a931ad47 20Delegate=yes
05947bef
LP
21
22[Install]
6a140df0 23WantedBy=machines.target