I have been trying to get the hdhomerun_record to start automatically on "Rocky Linux release 9.7 (Blue Onyx)". I got sick of starting the script manually.
I have no issues getting hdhomerun_record to run manually.
This works just fine.
[hdhr@homerundvr ~]$ /recording/hdhomerun_record start --conf=/recording/hdhomerun.conf
I have tried many different systemctl configurations but I can not get any of them to work after a reboot.
[root@homerundvr ~]# cat /etc/systemd/system/hdhomerun.service
[Unit]
Description=SiliconDust HDHomeRun DVR service
[Service]
User=hdhr
Group=hdhr
WorkingDirectory=/recording/
Type=oneshot
ExecStart=/recording/hdhomerun_record start --conf=/recording/hdhomerun.conf
ExecStop=/recording/hdhomerun_record stop
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
Is there a systemctl file that works? What am I doing wrong. The other weird thing is that the log file does not show issues but none of the recorded shows show up unless I start up manually.
linux systemctl auto start hdhomerun_record
Re: linux systemctl auto start hdhomerun_record
This is the one the RPM package that another forum member created uses: https://github.com/garybuhrmaster/packa ... rd.service . If you want to just use the package, you can read more about that at viewtopic.php?t=36175 .
Re: linux systemctl auto start hdhomerun_record
Thanks. I was afraid to use that because I thought I was going to be getting a much older version of the binary since it has not been updated in a while. I just checked and some how the versions are the same. I was able to get the rpm installed and now it starts at boot like I needed. Very nice!
Re: linux systemctl auto start hdhomerun_record
The packages get updated with the new DVR version shortly after each release. All the rest of the packaging rarely needs to change, mostly just if something changes in one of the distros that would affect how it starts or something like that.