tvheadend - timeout during startup

  • Having an issue with TVHeadend backend service that fails to run and will restart itself forever.

    After digging a bit around the issue and lauching the program manually, it seems to be related to a timeout occuring during startup.
    Namely TVheadend is trying to figure out "satips" and eventual throw the error

    Code
    [ ERROR]:satips: Unable to determine the HTTP/RTSP address


    before continuing. (It runs fine after)


    The problem is that this hiccup, about 2 minutes of pause, is causing systemd to think the service fails and triggers a restart.
    Here is an extract from systemd logs:


    it'll repeat forever

    Relevant version information:

    Code
    LibreELEC:~/.kodi/addons/service.multimedia.tvheadend/bin # tvheadend -v
    tvheadend: version 4.0.9 ~ LibreELEC Tvh-addon v7.0.101

    see also this thread where it seems to be exactly what is happening in my case:
    Tvheadend delay during startup - Tvheadend