qemush/etc/runit/sv/virtiofsd/finish

8 lines
160 B
Bash
Executable file

#!/bin/sh -e
# Read configuration
sourceconf() { [ -r "$1" ] && . "$1"; }
sourceconf ./conf
# Delete socket and PID file
exec rm -f "$socket" "${socket}.pid"