diff options
author | Guy Sheffer <guysoft@gmail.com> | 2021-01-03 03:47:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-03 03:47:21 +0300 |
commit | 1701527b1a0f140f705f19fa27abcda488e0b2ff (patch) | |
tree | 8b8613611f238082481119224da130a99baf1653 | |
parent | f97b9902c82422ea62fe07ef09b72866f98c13e1 (diff) | |
parent | 3445351397fd179cd62e0dbe5d2b9aea4f5fd57a (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.service | 1 |
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 |