Re: Problems starting mythbackend

Page principale

Répondre à ce message
Auteur: Josu Lazkano
Date:  
À: dmo-discussion@deb-multimed...
Sujet: Re: Problems starting mythbackend
Hello again,

I am still with the problem, I read this wiki page:
https://www.mythtv.org/wiki/Systemd_mythbackend_Configuration

And it says that I need to execute thi:

# Sanity check on required folders
if [ ! -x /var/log/mythtv ]; then
# make logging folder
mkdir -p -m 755 /var/log/mythtv
chown -hR mythtv:mythtv /var/log/mythtv
fi
# make pid folder
mkdir -p -m 755 /run/mythtv
chown -hR mythtv:mythtv /run/mythtv

Where must I execute it? In /etc/init.d/mythtv-backend?

I see my init script and there is this lines:

mkdir -p $RUNDIR
chown -R $USER $RUNDIR

Could I change to "mkdir -p -m 755 $RUNDIR"?

Kind regards.

--
Josu Lazkano