Running virtiofsd with systemd-run prevents process from beeing killed when closing virt-viewer
This commit is contained in:
parent
e1e06405ea
commit
6c8de6d49c
1 changed files with 2 additions and 2 deletions
|
@ -126,8 +126,8 @@ start_virtiofsd() {
|
|||
fi
|
||||
# END temporary fix
|
||||
socket="/run/user/$(id -u $USER)/virtiofs-${VM_NAME}.sock"
|
||||
/usr/local/bin/virtiofsd --uid-map=:${GUEST_UID}:${UID}:1: --gid-map=:${GUEST_GID}:$(id -g):1: \
|
||||
--socket-path "$socket" --shared-dir "/lmn/media/${USER}" --syslog &
|
||||
systemd-run --user /usr/local/bin/virtiofsd --uid-map=:${GUEST_UID}:${UID}:1: --gid-map=:${GUEST_GID}:$(id -g):1: \
|
||||
--socket-path "$socket" --shared-dir "/lmn/media/${USER}" --syslog
|
||||
}
|
||||
|
||||
QEMU='qemu:///session'
|
||||
|
|
Loading…
Add table
Reference in a new issue