Hi, after compiling tvheadend on a EL7 machine I have some trobles starting the daemon with "systemctl start tvheadend". The service never starts and eventually fails (after 2-3 minutes). The solution I found is to edit "/usr/lib/systemd/system/tvheadend.service" and change from "Type=forking" to "Type=simple":
[Unit]
Description=Tvheadend - a TV streaming server and DVR
After=syslog.target network.target auditd.service
[Service]
EnvironmentFile=/etc/sysconfig/tvheadend
ExecStart=/usr/bin/tvheadend -f -p /var/run/tvheadend.pid $OPTIONS
PIDFile=/var/run/tvheadend.pid
Type=simple
Restart=on-failure
RestartSec=54s
[Install]
WantedBy=multi-user.target
Do you think it is a bug on tveadend? I don't have any issues with other daemons on this machine.
Thank you!