From: Silvio Rhatto Date: Sat, 23 Jun 2018 17:53:18 +0000 (-0300) Subject: Add setsid into nohup approach X-Git-Tag: 0.1.0~190 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=292cf855c9a1ba38dac6ee940ed8229f5167ffa5;p=kvmx.git Add setsid into nohup approach --- diff --git a/kvmx b/kvmx index b3454ce..7911ec4 100755 --- a/kvmx +++ b/kvmx @@ -474,7 +474,7 @@ function kvmx_up { # Run virtual machine, nohup approach # See https://en.wikipedia.org/wiki/Nohup#Overcoming_hanging - #nohup kvm -m $memory -name $VM \ + #nohup setsid kvm -m $memory -name $VM \ # -chardev "socket,id=monitor,path=$MONITORFILE,server,nowait" -mon chardev=monitor,mode=readline \ # -chardev "socket,id=serial0,path=$CONSOLEFILE,server,nowait" -device isa-serial,chardev=serial0 \ # -smp $smp -cpu host -balloon virtio \