hts-tvheadend: make sure we dont start twice on crashing xbmc

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-05-31 22:44:42 +02:00
parent 1b7ccf3a49
commit a136e00c89
2 changed files with 4 additions and 2 deletions

View File

@ -20,7 +20,7 @@
PKG_NAME="hts-tvheadend" PKG_NAME="hts-tvheadend"
PKG_VERSION="90e3570" PKG_VERSION="90e3570"
PKG_REV="2" PKG_REV="3"
PKG_ARCH="any" PKG_ARCH="any"
PKG_LICENSE="GPL" PKG_LICENSE="GPL"
PKG_SITE="http://www.lonelycoder.com/hts/tvheadend_overview.html" PKG_SITE="http://www.lonelycoder.com/hts/tvheadend_overview.html"

View File

@ -27,4 +27,6 @@ LOG_FILE="$ADDON_HOME/service.log"
TVHEADEND_ARG="-f -C -s -u root -g root -c $ADDON_HOME" TVHEADEND_ARG="-f -C -s -u root -g root -c $ADDON_HOME"
mkdir -p $ADDON_HOME mkdir -p $ADDON_HOME
tvheadend $TVHEADEND_ARG &>$LOG_FILE if [ ! $(pidof tvheadend) ];then
tvheadend $TVHEADEND_ARG &>$LOG_FILE
fi