Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/guysoft/OctoPi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimofei Korostelev <timofei_public@homeunix.by>2021-01-03 01:53:33 +0300
committerTimofei Korostelev <timofei_public@homeunix.by>2021-01-03 01:53:33 +0300
commit3445351397fd179cd62e0dbe5d2b9aea4f5fd57a (patch)
tree8b8613611f238082481119224da130a99baf1653
parent12f5673eb0be8c0b61ffce6b1075ffc14cb0f75c (diff)
Made HLS stream restart every 6 hours.
-rw-r--r--src/modules/octopi/filesystem/root/etc/systemd/system/ffmpeg_hls.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/octopi/filesystem/root/etc/systemd/system/ffmpeg_hls.service b/src/modules/octopi/filesystem/root/etc/systemd/system/ffmpeg_hls.service
index c2a7b49..b628ee6 100644
--- a/src/modules/octopi/filesystem/root/etc/systemd/system/ffmpeg_hls.service
+++ b/src/modules/octopi/filesystem/root/etc/systemd/system/ffmpeg_hls.service
@@ -6,6 +6,7 @@ ConditionPathExists=/etc/octopi_streamer/hls
User=webcam
Restart=always
RestartSec=5
+WatchdogSec=21600
Nice=10
ExecStartPre=/bin/rm -rf /tmp/webcam
ExecStartPre=/bin/mkdir -p /tmp/webcam/hls