chiark / gitweb /
Revert "units: add SecureBits"
[elogind.git] / units / systemd-nspawn@.service.in
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]
9 Description=Container %I
10 Documentation=man:systemd-nspawn(1)
11 PartOf=machines.target
12 Before=machines.target
13
14 [Service]
15 ExecStart=@bindir@/systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --machine=%I
16 KillMode=mixed
17 Type=notify
18 RestartForceExitStatus=133
19 SuccessExitStatus=133
20 Delegate=yes
21
22 [Install]
23 WantedBy=machines.target