void-packages/srcpkgs/libvirt/files/libvirt-generic/run

11 lines
158 B
Bash

#!/bin/sh
sv check dbus >/dev/null || exit 1
# Take daemon name from service name
daemon="${PWD##*/}"
[ -f ./conf ] && . ./conf
exec "$daemon" $OPTS 2>&1