Changed files:
mythbackend.init -> 1.9
mythbackend.sysconfig -> 1.2
# Source function library.
. /etc/rc.d/init.d/functions
+MYTHTV_USER=mythtv
+OPTIONS=
+
if [ -f /etc/sysconfig/mythbackend ]; then
. /etc/sysconfig/mythbackend
fi
msg_starting "Mythbackend"
daemon /usr/sbin/mythbackend --daemon \
- --user mythtv \
+ --user $MYTHTV_USER \
--logfile /var/log/mythtv/mythbackend.log \
--pidfile $pidfile \
$OPTIONS
# Customized settings for mythbackend
-#MYTHTV_HOME=/var/lib/mythtv
+# user the daemon runs, needs write access to /var/log/mythtv and it's $HOME
+#MYTHTV_USER=mythtv
+
+# additional options for mythbackend daemon, use mythbackend --help to see options
#OPTIONS=