Created
May 7, 2024 15:09
-
-
Save mezza/00e8562fcfbef5d14aa77d6ce2385ec7 to your computer and use it in GitHub Desktop.
HDHomeRun Systemd service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=SiliconDust HDHomeRun DVR service | |
After=network.target time-sync.target | |
[Service] | |
Type=forking | |
User=me | |
ExecStart=/usr/local/bin/hdhomerun_record start --conf=/usr/local/etc/hdhomerun.conf | |
ExecStop=/usr/local/bin/hdhomerun_record stop --conf=/usr/local/etc/hdhomerun.conf | |
# Whether systemd will continue over-watch and restart on any halt | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Couldn't find a working systemd unit definition, so posting here.
Download the hdhomerun_record binary from https://info.hdhomerun.com/info/dvr:linux, and then edit the user and path in the example above.