[mythtv-users] I broke my mythTV, help!
Bill Meek
keemllib at gmail.com
Thu Nov 8 02:51:57 UTC 2018
On 11/7/18 4:26 PM, Bill Meek wrote:
> Good idea, and it's easily done in:/etc/mythtv/additional.args by creating a like like this
> and starting the backend again:
>
> MYTHCONFDIR=/user/home/mythtv/.mythtv
Ignore the above, it won't work.
I just tested:
sudo systemctl edit mythtv-backend.service
and added the following two lines there:
[Service]
Environment="MYTHCONFDIR=/etc/mythtv"
That causes the backend to start with /etc/mythtv as the configuration
directory where it will find your config.xml (if it's still there.)
You should see entries in the backend log showing
that /etc/mythtv is being used:
... mythdirs.cpp:37 (InitializeMythDirs) - Read conf dir = /etc/mythtv (tells you MYTHCONFDIR is set)
... mythdirs.cpp:205 (InitializeMythDirs) - Using configuration directory = /etc/mythtv (shows it in use)
--
Bill
More information about the mythtv-users
mailing list