Browse Source

add redis config to mediaproxy init scripts

git.mgm/mediaproxy-ng/2.0
Richard Fuchs 15 years ago
parent
commit
12a59caaf8
2 changed files with 4 additions and 0 deletions
  1. +2
    -0
      debian/ngcp-mediaproxy-ng-daemon.default
  2. +2
    -0
      debian/ngcp-mediaproxy-ng-daemon.init

+ 2
- 0
debian/ngcp-mediaproxy-ng-daemon.default View File

@ -11,3 +11,5 @@ FORK=yes
TABLE=0
# PORT_MIN=30000
# PORT_MAX=50000
# REDIS=127.0.0.1:6379
# REDIS_DB=1

+ 2
- 0
debian/ngcp-mediaproxy-ng-daemon.init View File

@ -53,6 +53,8 @@ OPTIONS=""
[ -z "$PORT_MIN" ] || OPTIONS="$OPTIONS --port-min=$PORT_MIN"
[ -z "$PORT_MAX" ] || OPTIONS="$OPTIONS --port-max=$PORT_MAX"
[ -z "$ADV_ADDRESS" ] || OPTIONS="$OPTIONS --advertised-ip=$ADV_ADDRESS"
[ -z "$REDIS" ] || OPTIONS="$OPTIONS --redis=$REDIS"
[ -z "$REDIS_DB" ] || OPTIONS="$OPTIONS --redis-db=$REDIS_DB"
OPTIONS="$OPTIONS --table=$TABLE"
if test "$FORK" = "no" ; then
OPTIONS="$OPTIONS --foreground"


Loading…
Cancel
Save