qemush : ajout -name dans la fonction start
This commit is contained in:
parent
8c3dc22119
commit
7e5c72aee4
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/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)
|
# Function to re-exec the script as another user via sudo (only if needed)
|
||||||
exec_as() {
|
exec_as() {
|
||||||
|
@ -66,6 +66,7 @@ public_start() {
|
||||||
QEMUSH_NAME="$1"
|
QEMUSH_NAME="$1"
|
||||||
|
|
||||||
set -- "$@" \
|
set -- "$@" \
|
||||||
|
-name "$QEMUSH_NAME" \
|
||||||
-monitor "unix:$(pathof socket),server,nowait" \
|
-monitor "unix:$(pathof socket),server,nowait" \
|
||||||
-daemonize
|
-daemonize
|
||||||
if ! "$@"; then
|
if ! "$@"; then
|
||||||
|
|
Loading…
Reference in a new issue