tvheadend: do not send debug message to syslog

Apparently tvheadend by default uses the syslog service, and the `-s`
  option that we provide in the startup script in fact makes tvheadend
  send debug messages to syslog (which we obviously do not want by default
  as this causes for my single DVB card 1k/min to /var, which is 4MB/month).
  So this fix disables the `-s` option in the tvheadend startup script.

  closes #2053, closes #2055
This commit is contained in:
Dag Wieers 2013-03-13 10:41:10 +02:00 committed by Stefan Saraev
parent 3b9461b7c0
commit 58f400fb35

View File

@ -94,7 +94,11 @@ if [ ! -f "$TIMESHIFT_SETTINGS_FILE" ]; then
fi
fi
TVHEADEND_ARG="-C -s -u root -g video -c $ADDON_HOME"
if [ "$DEBUG" = "yes" ]; then
ADEND_ARG="-C -s -u root -g video -c $ADDON_HOME"
else
ADEND_ARG="-C -u root -g video -c $ADDON_HOME"
fi
mkdir -p /var/config
if [ -f $ADDON_DIR/settings-default.xml ]; then