#!/bin/sh -e # Read configuration sourceconf() { [ -r "$1" ] && . "$1" } sourceconf ./conf # Start a virtiofsd sharing qemu shared dir exec /usr/lib/virtiofsd \ --shared-dir "$shared_dir" \ --socket-path "$socket" \ --socket-group qemu