chiark / gitweb /
util: make sure rm_rf() can be called on symlinks (with the effect of deleting it)
[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
12 [Service]
13 ExecStart=@bindir@/systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --directory=/var/lib/container/%i
14 KillMode=mixed
15 Type=notify
16 RestartForceExitStatus=133
17 SuccessExitStatus=133
18 Delegate=yes
19
20 [Install]
21 WantedBy=multi-user.target