guysoft / OctoPi

Scripts to build OctoPi, a Raspberry PI distro for controlling 3D printers over the web
GNU General Public License v3.0
2.45k stars 368 forks source link

Restart HLS stream evert 6 hours. #708

Closed chudsaviet closed 3 years ago

chudsaviet commented 3 years ago

Restart HLS stream evert 6 hours to avoid segment number overflow. Using WatchdogSec statement which effectively restarts service after specified timeout, because the service don't reset it. https://man7.org/linux/man-pages/man5/systemd.service.5.html