Browse Source

add --b2b-url and --no-fallback option support to init/default

git.mgm/mediaproxy-ng/2.0
Richard Fuchs 14 years ago
parent
commit
18971214c9
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,7 +11,9 @@ PIDFILE=/var/run/ngcp-mediaproxy-ng-daemon.pid
FORK=yes
# TOS=184
TABLE=0
# NO_FALLBACK=yes
# PORT_MIN=30000
# PORT_MAX=50000
# REDIS=127.0.0.1:6379
# REDIS_DB=1
# B2B_URL=http://127.0.0.1:8090/

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

@ -57,6 +57,8 @@ OPTIONS=""
[ -z "$ADV_ADDRESS_IPV6" ] || OPTIONS="$OPTIONS --advertised-ip6=$ADV_ADDRESS_IPV6"
[ -z "$REDIS" ] || OPTIONS="$OPTIONS --redis=$REDIS"
[ -z "$REDIS_DB" ] || OPTIONS="$OPTIONS --redis-db=$REDIS_DB"
[ -z "$B2B_URL" ] || OPTIONS="$OPTIONS --b2b-url=$B2B_URL"
[ -z "$NO_FALLBACK" -o \( "$NO_FALLBACK" != "1" -a "$NO_FALLBACK" != "yes" \) ] || OPTIONS="$OPTIONS --no-fallback"
OPTIONS="$OPTIONS --table=$TABLE"
if test "$FORK" = "no" ; then
OPTIONS="$OPTIONS --foreground"


Loading…
Cancel
Save