You are not logged in.
Pages: 1
I have mythbackend as daemon in rc.conf, and it does not start on boot, with the following error from the log:
2008-10-30 21:52:49.737 Using runtime prefix = /usr, libdir = /usr/lib
2008-10-30 21:52:49.789 Cannot locate your home directory. Please set the environment variable HOME or MYTHCONFDIR
2008-10-30 21:52:49.933 Failed to init MythContext, exiting.
Now I put this in my ~/.bashrc:
# Set $HOME variable
export $HOME=/home/myuser
But this will not kick-in on boot, right? How do I set it so it happens at boot before the mythbackend daemon starts?
TIA for any help
Offline
You can always just add it to the daemon's start up script I suppose.
nano /etc/rc.d/mythbackend
Madly in love with Arch64, Openbox, DotA, and of course... penguins!
Happy to help if you're not a Help Vampire. Use your wonderful resources like ArchWiki, Google, and our wonderful search page.
Offline
export $HOME=/home/myuser
That's a syntax error, for a start. Remove the dollar sign.
Offline
I don't think setting a variable in ~/.bashrc is going to help at boot time...
Offline
Yes I was seeing the error show when I opened a shell. I don't want to mess with the mythbackend script as I constantly update myth via svn and it gets overwritten.
Where can I add it so it takes effect at boot??
Thanks
Offline
As per the wiki http://wiki.archlinux.org/index.php/Myt … kend_setup
you add it to /etc.rc.conf
HOME="/root"
I have in my rc.conf
MYTHCONFDIR=/home/mythtv
Have a look here as well http://wiki.archlinux.org/index.php/Myt … _Variables
Offline
Thanks so much my0pic! If any errors on reboot I'll post back but I think that will work
Offline
Pages: 1