Skip to content

Commit

Permalink
Update mjpg-streamer to 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikbaberg committed Oct 17, 2021
1 parent 16a12d4 commit 68878db
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 48 deletions.
6 changes: 6 additions & 0 deletions mjpg-streamer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

[0.3.0]

- Update tinyproxy version (1.11.0 at time of build)
- Tweak proxy settings
- Allow mjpg-streamer and both proxies to restart on error

[0.2.0]

- Add Gphoto2
Expand Down
4 changes: 2 additions & 2 deletions mjpg-streamer/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mjpg-streamer",
"version": "0.2.0",
"version": "0.3.0",
"slug": "mjpg-streamer",
"description": "mjpg-streamer add-on for Home Assistant",
"arch": ["armv7", "amd64", "armhf", "aarch64", "i386"],
Expand All @@ -11,7 +11,7 @@
"8000/tcp": null
},
"ports_description": {
"8000/tcp": "Web-based interface)"
"8000/tcp": "Web-based interface"
},
"homeassistant": "2021.1.0",
"video": true,
Expand Down
9 changes: 0 additions & 9 deletions mjpg-streamer/rootfs/etc/services.d/mjpg-streamer/finish

This file was deleted.

9 changes: 0 additions & 9 deletions mjpg-streamer/rootfs/etc/services.d/tinyproxy-ingress/finish

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ Group nogroup
Port 8099

BindSame yes
Timeout 600
# Timeout 10

LogLevel Info
PidFile "/var/run/tinyproxy/tinyproxy.pid"
# LogLevel Info
# PidFile "/var/run/tinyproxy/tinyproxy-ingress.pid"

MaxClients 5
MinSpareServers 2
MaxSpareServers 5
StartServers 2
# MaxClients 5
# MinSpareServers 2
# MaxSpareServers 10
# StartServers 2

MaxRequestsPerChild 0
# MaxRequestsPerChild 0

ViaProxyName "tinyproxymjpgstreamer"
# ViaProxyName "tinyproxymjpgstreamer-ingress"

ReversePath "/" "http://127.0.0.1:80/"

Expand Down
9 changes: 0 additions & 9 deletions mjpg-streamer/rootfs/etc/services.d/tinyproxy-web/finish

This file was deleted.

2 changes: 1 addition & 1 deletion mjpg-streamer/rootfs/etc/services.d/tinyproxy-web/run
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

bashio::log.info "Starting tinyproxy for Ingress..."

tinyproxy -d -c tinyproxy.conf
tinyproxy -d -c tinyproxy.conf
18 changes: 9 additions & 9 deletions mjpg-streamer/rootfs/etc/services.d/tinyproxy-web/tinyproxy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ Group nogroup
Port 8000

BindSame yes
Timeout 600
# Timeout 10

LogLevel Info
PidFile "/var/run/tinyproxy/tinyproxy.pid"
# LogLevel Info
# PidFile "/var/run/tinyproxy/tinyproxy-web.pid"

MaxClients 5
MinSpareServers 2
MaxSpareServers 5
StartServers 2
# MaxClients 5
# MinSpareServers 2
# MaxSpareServers 10
# StartServers 2

MaxRequestsPerChild 0
# MaxRequestsPerChild 0

ViaProxyName "tinyproxymjpgstreamer"
# ViaProxyName "tinyproxymjpgstreamer-web"

ReversePath "/" "http://127.0.0.1:80/"

Expand Down

0 comments on commit 68878db

Please sign in to comment.