]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Bring the TVH_ARGS variable into the Debian init script 277/head
authorJames Hannah <james@tlyk.eu>
Sun, 2 Jun 2013 10:30:57 +0000 (11:30 +0100)
committerJames Hannah <james@tlyk.eu>
Sun, 2 Jun 2013 10:30:57 +0000 (11:30 +0100)
This is defined in the Defaults file but then not included in the init
script.

debian/tvheadend.init

index b4aea9cbda3916b79c37c13a43f8671bf720da3f..0996cbaa95c1a09a899fb7bb84ff1e9c663f938d 100644 (file)
@@ -37,6 +37,7 @@ ARGS="-f"
 [ -z "$TVH_HTTP_PORT" ] || ARGS="$ARGS --http_port $TVH_HTTP_PORT"
 [ -z "$TVH_HTTP_ROOT" ] || ARGS="$ARGS --http_root $TVH_HTTP_ROOT"
 [ -z "$TVH_HTSP_PORT" ] || ARGS="$ARGS --htsp_port $TVH_HTSP_PORT"
+[ -z "$TVH_ARGS"      ] || ARGS="$ARGS $TVH_ARGS"
 [ "$TVH_DEBUG" = "1"  ] && ARGS="$ARGS -s"
 
 # Load the VERBOSE setting and other rcS variables