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:
authorGuy Sheffer <guysoft@gmail.com>2021-01-03 03:47:21 +0300
committerGitHub <noreply@github.com>2021-01-03 03:47:21 +0300
commit1701527b1a0f140f705f19fa27abcda488e0b2ff (patch)
tree8b8613611f238082481119224da130a99baf1653
parentf97b9902c82422ea62fe07ef09b72866f98c13e1 (diff)
parent3445351397fd179cd62e0dbe5d2b9aea4f5fd57a (diff)
Merge pull request #708 from chudsaviet/feature/restart-hls-6h
Restart HLS stream evert 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