Jon M dtv2 Can't open PID file /run/tvheadend.pid (yet?) after start: Operation not permitted> Possible clue there. Does this file already exist? What are its permissions?
dtv2 the file not exist at /run/ either at /var/run/ and does not exist too when a start manualy tvheadend.
Jonas Lang Try searching for the file tvheadend.pid on your system and see exactly where it is located before proceeding any further.
Jon M dtv2 isn't that because it's systemd which creates the tvheadend.pid file, rather than tvheadend itself? So I think you would not expect to see that file if you start it manually.
Jon M Actually, looking at the command which gets run from systemd on my system, it's like so: /usr/bin/tvheadend -f -p /run/tvheadend.pid -u hts Are you starting it (manually) with a command like this?
dtv2 I start manualy just whit this command: tvheadend I think error was do an install of python3-certbot-apache in the system , i do a fresh install and tvheadend start auto again then afther the install of python3-certbot-apache the error happening.
Jonas Lang What method did you use to install TVH. Did you compile it yourself or install from prebuilt packages. What hardware is TVH installed on.
dtv2 i install the script (Official Sources) in the link above in downloads. hardware is 2x digitaldevices. anyway afther new instalation and this time stunnel install the error come back so any app who write in service for startup kill the tvheadend to auto boot. i will try backwards. (first install apache then tvheadend)
Jonas Lang You’ll probably need to adjust your TVH service file depending on which service you need to load first.