summaryrefslogtreecommitdiffstats
path: root/share/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'share/systemd')
-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]