Change or copy config files location
Added by Bill Mackie about 12 years ago
Hi
I had been merrily running tvheadend for some time with it picking up its settings from /home/bill/.hts I dont know why it has picked up from there it just always has.
However last night I did a git pull and rebuilt and installed the deb during which I think it overwrote something that it normally does not which has resulted in it now picking up its config form /home/hts/.hts resulting in me losing all my channels etc.
I would rather not go through the config process again, deleting a load of channels that the sat card picks up. How can I change the config so it points at the original bill folder again. I have tried copying the config folder from bill to hts but this does not seem to have worked.
Cheers
Replies (3)
RE: Change or copy config files location - Added by Adam Sutton about 12 years ago
Bill,
The deb now uses an upstart script rather than the traditional sysvinit script. It's possible you had manually modified the init script? and forgotten.
If you want to continue to use the existing configuration directory then you will need to modify /etc/default/tvheadend and specify the -c option.
However those files would then need to be r/w by user hts. However if you were also running as bill rather than hts, try setting the -u option from hts to bill.
Adam
RE: Change or copy config files location - Added by Bill Mackie about 12 years ago
Thanks Adam, life save I'll give it a shot later tonight.
The only thing I can remember doing it when I first installed it I could not log in so I did a killall -9 tvheadend and then restarted it by running tvheadend -C to create my user account. Would that have anything to do with it?
RE: Change or copy config files location - Added by Bill Mackie about 12 years ago
changing the user to bill has done the trick! Thanks