chiark / gitweb /
units: rework systemd-nspawn@.service unit
authorLennart Poettering <lennart@poettering.net>
Mon, 29 Dec 2014 11:38:26 +0000 (12:38 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 29 Dec 2014 16:00:05 +0000 (17:00 +0100)
commit6a140df0048c99e62339d97effbe16a1bba42d45
treef73e885bd86466de5588e68d2521455fc60db5d8
parent8fa844dccff70824ff063bfe5f409c47f5699d73
units: rework systemd-nspawn@.service unit

- Unescape instance name so that we can take almost anything as instance
  name.

- Introduce "machines.target" which consists of all enabled nspawns and
  can be used to start/stop them altogether

- Look for container directory using -M instead of harcoding the path in
  /var/lib/container
Makefile.am
units/machines.target [new file with mode: 0644]
units/systemd-nspawn@.service.in