summary refs log tree commit diff
path: root/host/rootfs/usr/bin/vm-stop
diff options
context:
space:
mode:
Diffstat (limited to 'host/rootfs/usr/bin/vm-stop')
-rwxr-xr-xhost/rootfs/usr/bin/vm-stop4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/rootfs/usr/bin/vm-stop b/host/rootfs/usr/bin/vm-stop
index 2322003..db2e9f3 100755
--- a/host/rootfs/usr/bin/vm-stop
+++ b/host/rootfs/usr/bin/vm-stop
@@ -1,5 +1,5 @@
 #!/bin/execlineb -S1
 # SPDX-License-Identifier: EUPL-1.2+
-# SPDX-FileCopyrightText: 2022 Alyssa Ross <hi@alyssa.is>
+# SPDX-FileCopyrightText: 2023 Alyssa Ross <hi@alyssa.is>
 
-s6-rc -l /run/s6-rc.ext -d change vm-${1}
+ch-remote --api-socket /run/service/ext-vm-${1}/env/cloud-hypervisor.sock shutdown