Hi,
how can I automatic start TVH on a Synology NAS?
TVH stops from time to time on my NAS and I want to restart if is stopped.
I have tried a Python script to find out if the TVH task dont run and then execute this command:
/var/packages/tvheadend/scripts/start-stop-status start
But this is the output:
/var/packages/tvheadend/scripts/service-setup: line 6: [: : integer expression expected
Starting ...
/var/packages/tvheadend/scripts/service-setup: line 18: type: service_prestart: not found
/var/packages/tvheadend/scripts/start-stop-status: line 30: [: : integer expression expected
Iam on the right way or is there a better way?
thx for help