qemush : ajout -name dans la fonction start

This commit is contained in:
Ahurac 2024-03-11 15:10:25 +01:00
parent 8c3dc22119
commit 7e5c72aee4

View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash
# version=0.5.0
# version=0.6.0
# Function to re-exec the script as another user via sudo (only if needed)
exec_as() {
@ -66,6 +66,7 @@ public_start() {
QEMUSH_NAME="$1"
set -- "$@" \
-name "$QEMUSH_NAME" \
-monitor "unix:$(pathof socket),server,nowait" \
-daemonize
if ! "$@"; then