summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-10-06 15:20:08 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2018-05-27 05:59:31 +0000
commita7b4a8654f5b58b853ca1520003148f08fc03d74 (patch)
tree74a76092bd16704d20871ba032605492d8a3e630 /share
parentSwitching to systemd-nspawn configuration files from /etc/container-tools/con... (diff)
downloadcompute-tools-a7b4a8654f5b58b853ca1520003148f08fc03d74.tar.xz
compute-tools-a7b4a8654f5b58b853ca1520003148f08fc03d74.zip
container@.service
Diffstat (limited to 'share')
-rw-r--r--share/systemd/container@.service4
1 files changed, 1 insertions, 3 deletions
diff --git a/share/systemd/container@.service b/share/systemd/container@.service
index 4a30ff6..d352a76 100644
--- a/share/systemd/container@.service
+++ b/share/systemd/container@.service
@@ -4,9 +4,7 @@ Documentation=man:container-tools
[Service]
Type=simple
-ExecStart=/usr/bin/container start --name %i --nspawn --no-notification
-ExecStartPost=/usr/bin/container start --name %i --start --no-notification
-ExecStopPost=/usr/bin/container stop -n %i --clean --no-notification
+ExecStart=/usr/bin/systemd-nspawn -D /var/lib/machines/%i
KillMode=mixed
[Install]