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