#!/bin/bash
export TERM=linux
. /etc/rc.conf
. /etc/rc.d/functions
stat_runit "Starting mythrecordingextender"

export HOME=/home/mythtv

sv start mythbackend || exit 1
sleep 5

exec /usr/local/bin/mre.php