Delay tvheadend start

  • Hello,

    this is my first post here, I need your help.

    To store tvheadend recordings and timeshift data I use a USB stick. If a power outage happens or I have to reboot the RPi 3 the stick is automatically mounted but tvheadend starts before the mount has finished. Result, tvheadend does not find recorded files and any client can't play those recordings. If I restart tvheadend via SSH things are back to normal. How can I delay the start of tvheadend?

    kr and greetings from Vienna, Austria,
    Heinz