[packages/qemu] Sleep a little, so daemon has a time to stop.
arekm
arekm at pld-linux.org
Fri Jun 6 12:07:57 CEST 2025
commit aa8be7234cbc3bf4d32b8d94c4fc3bde76de8c0c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Jun 6 11:09:14 2025 +0200
Sleep a little, so daemon has a time to stop.
qemu-guest-agent.init | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/qemu-guest-agent.init b/qemu-guest-agent.init
index 9aa57cd..076f5b7 100755
--- a/qemu-guest-agent.init
+++ b/qemu-guest-agent.init
@@ -85,7 +85,7 @@ condrestart() {
fi
checkconfig
- stop
+ stop && sleep 0.3
start
}
@@ -100,7 +100,7 @@ case "$1" in
;;
restart)
checkconfig
- stop
+ stop && sleep 0.3
start
;;
try-restart)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/qemu.git/commitdiff/aa8be7234cbc3bf4d32b8d94c4fc3bde76de8c0c
More information about the pld-cvs-commit
mailing list