summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2016-02-24 16:17:40 +0200
committerRiku Voipio <riku.voipio@linaro.org>2016-02-24 16:17:40 +0200
commitc5ec5ffb1bda95c4c46ce0fa7c8ed64ae38cdc54 (patch)
tree70e8b3dad14f180959024abbf9b5780c342b63d6 /common
parentd25b58d43e1171a8a14eef62c094a9faa4941e50 (diff)
downloadtest-definitions-pipe-c5ec5ffb1bda95c4c46ce0fa7c8ed64ae38cdc54.tar.gz
kvm-lava: shut down via poststart
The old ExecStop=shutdown method caused systemd wait for forever to shut down. ExecStartPost seems to work. Change-Id: I3ba593a47c64de75f08c2b0e8527f424c09dcc83 Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'common')
-rw-r--r--common/scripts/kvm/kvm-lava.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/scripts/kvm/kvm-lava.service b/common/scripts/kvm/kvm-lava.service
index 2586686..54113ef 100644
--- a/common/scripts/kvm/kvm-lava.service
+++ b/common/scripts/kvm/kvm-lava.service
@@ -4,7 +4,7 @@ Description=KVM guest tests
[Service]
Type=oneshot
ExecStart=/usr/bin/test-guest.sh
-ExecStop=/sbin/poweroff
+ExecStartPost=/sbin/poweroff
[Install]
WantedBy=multi-user.target