Bug #3741
no auto-start of tvheadend in Ubuntu-Mate 16.04
0%
Description
I was running tvheadend on 12.04, 14.04 and after booting the computer tvheadend had also been started and was running correctly.
I have now done a fresh install of Ubuntu-Mate Beta 16.04, and installed tvheadend 4.1-1927~gac2d90e. All files at /home/hts/* were rsynced from the old place. All files under /etc are identical to my previous installations.
Yet, tvheadend is NOT started after boot (not in ps A, nor is there a server at localhost:9981). Nor is there a log file created as I have defined it.
However, I can manually start tvheadend by: "sudo service tvheadend start" and everything works as expected.
Is there something else, which needs to be configured under 16.04? (it is officially released since a few hours, everything is updated, but it still does not work)
Attaching the config files from /etc
Files
History
Updated by saen acro over 8 years ago
Can you try this
systemctl enable SERVICE - Turns the service on, on the next reboot or on the next start event. It persists after reboot. systemctl disable SERVICE - Turns the service off on the next reboot or on the next stop event. It persists after reboot.
Updated by ullix tv over 8 years ago
I did
sudo systemctl enable tvheadend
and after the next reboot tvh was active. Then did
sudo systemctl disable tvheadend
and after the next reboot, tvh was NOT active.
Back to "sudo systemctl enable tvheadend" and I now enjoy tvh as before, right after boot. Thanks!
Hopefully this can be automatically executed on installation?
Updated by ullix tv over 8 years ago
I may have been a bit too quick:
The enablement of tvh does work as described above, but tvh does not find my TV adapters. I do have a SAT>IP server, which previously had shown up at the very latest a few minutes after starting tvh. Now, however, even more than 15 min after reboot, tvh still has not found the TV adapter.
When I now do
sudo service tvheadend restart
the TV adapters are shown a few seconds later.
TVH is now at HTS Tvheadend 4.1-1931~gc3eefc6
Updated by Jaroslav Kysela over 8 years ago
- Status changed from New to Invalid
TVH rescan servers each hour or when the server advertises itself. You should make sure that tvh is started when the network settings is ok. It's better to use systemd service file - like in rpm/tvheadend.service (tvh sources):
https://github.com/tvheadend/tvheadend/blob/master/rpm/tvheadend.service