[mythtv-users] service mythbackend start fails - HOME env variable

Yeechang Lee ylee at pobox.com
Fri Feb 22 07:55:14 UTC 2008


Calvin Dodge <caldodge at gmail.com> says:
> I used to edit that init.d script to explicitly set HOME, but it got
> wiped out by every mythtv upgrade.

An easy solution is to simply add something like

   export MYTHCONFDIR=/var/lib/mythtv

to /etc/sysconfig/mythbackend (and in the .bashrc of whatever user
runs mythfrontend and mythtv-setup). No need to edit the init.d
script. Move everything in whatever .mythtv directory one has been
using previouslly to what MYTHCONFDIR is set to. Channel icons' paths
will have to be reset; I did a find-and-replace query in the database.

-- 
Frontend:		P4 3.0GHz, 1.5TB software RAID 5 array
Backend:		Quad-core Xeon 1.6GHz, 6.6TB sw RAID 6
Video inputs:		Four high-definition over FireWire/OTA
Accessories:		47" 1080p LCD, 5.1 digital, and MX-600


More information about the mythtv-users mailing list