Skip to content

Commit

Permalink
Changed S6 service run file
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-savin committed Oct 5, 2019
1 parent 6ceb58b commit 4281677
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 0.1.4
- Changed S6 service run file

## 0.1.3
- Bump Live555 ProxyServer to version 2019.05.29

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG BUILD_FROM
#ARG BUILD_FROM=hassioaddons/base:5.0.1
#ARG BUILD_FROM
ARG BUILD_FROM=hassioaddons/base:5.0.1
FROM $BUILD_FROM

# Add env
Expand Down
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Live555 RTSP Proxy Server",
"version": "0.1.3",
"version": "0.1.4",
"slug": "live555",
"description": "An RTSP Proxy Server",
"arch": ["aarch64", "amd64", "armhf", "i386"],
Expand Down
9 changes: 5 additions & 4 deletions rootfs/etc/services.d/live555proxyserver/run
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
#!/usr/bin/with-contenv bash
#!/usr/bin/with-contenv bashio
# ==============================================================================
# SmartHouse Hass.io Add-ons: Live555 RTSP Proxy Server
# Runs the Live555 RTSP Proxy Server
# ==============================================================================
source /usr/lib/hassio-addons/base.sh

LOG_LEVEL=$(bashio::config 'log_level')
CONFIG_PATH=/data/options.json
STREAMS=$(jq --raw-output ".streams[]" $CONFIG_PATH)

# Run the Live555 RTSP Proxy Server
hass.log.info "Starting Live555 RTSP Proxy Server..."
export LOG_LEVEL

bashio::log.info "Starting Live555 RTSP Proxy Server..."
exec live555ProxyServer ${STREAMS[*]}

0 comments on commit 4281677

Please sign in to comment.