[elbe-devel] [PATCH 1/2] debian: elbe.service: properly stop initvm
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Thu Jun 20 16:30:18 CEST 2024
We have a dedicated subcommand to stop an initvm,
that can handle different kinds of initvms.
Use it.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
debian/elbe.service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/elbe.service b/debian/elbe.service
index ba30479170e4..7a06c7dc2a06 100644
--- a/debian/elbe.service
+++ b/debian/elbe.service
@@ -6,7 +6,7 @@ Documentation=man:elbe-initvm(1)
Type=forking
EnvironmentFile=/etc/default/elbe
ExecStart=/usr/bin/elbe initvm --directory ${INITVMDIR} start
-ExecStop=/usr/bin/elbe control shutdown_initvm
+ExecStop=/usr/bin/elbe initvm --directory ${INITVMDIR} stop
[Install]
WantedBy=multi-user.target
--
2.45.2
More information about the elbe-devel
mailing list