Hi,
This is the start section of my start script:
**********************************************
#!/bin/sh
# Package
PACKAGE="tvheadend"
DNAME="Tvheadend"
# Others
INSTALL_DIR="/usr/local/${PACKAGE}"
PATH="${INSTALL_DIR}/bin:/usr/local/bin:/bin:/usr/bin:/usr/syno/bin"
export LD_LIBRARY_PATH=/volume1/@appstore/tvheadend/lib/
==> added to get the right library
USER="tvheadend"
# USER="admin"
TVHEADEND="${INSTALL_DIR}/bin/tvheadend"
==> I placed my tvheadend binary manually in this directory
PID_FILE="${INSTALL_DIR}/var/tvheadend.pid"
start_daemon ()
{
${TVHEADEND} -f -u ${USER} -c ${INSTALL_DIR}/var -p ${PID_FILE}
# ${TVHEADEND} -f -C --noacl -c ${INSTALL_DIR}/var -p ${PID_FILE}
*****************************************************
TVHeadend is normally started with a tvheadend user, which I did not find on my system. I started it also with the commented line using th --noacl option, to get direct access.
I´ve seen the "1" file under the access control directory "/volume1/@appstore/tvheadend/var/accesscontrol"
NetDisk> more 1
{
"enabled": 1,
"username": "@username@",
"password": "@password@",
"comment": "Administrator",
"prefix": "0.0.0.0/0",
"streaming": 1,
"dvr": 1,
"dvrallcfg": 1,
"webui": 1,
"admin": 1,
"id": "1"
}
***********************
I moved this file to a different location and restarted TVHeadend. I was then prompted for User: xbmc and I entered the password xbmc, without success.
Can you tell me, where to find the .js and .html files in order to set the correct permissions ? I was not able to find them right now. And what about the "tvheadend" user, which is used per default in the original start script ? Is it missing and should I create this account ?
Thanks in advance for your help
Regards
reinwolf
<<