Browse Source

Make --log-stderr available from ngcp-rtpengine-daemon.init

pull/262/head
Lucian Balaceanu 10 years ago
parent
commit
e468449160
2 changed files with 6 additions and 0 deletions
  1. +1
    -0
      debian/ngcp-rtpengine-daemon.default
  2. +5
    -0
      debian/ngcp-rtpengine-daemon.init

+ 1
- 0
debian/ngcp-rtpengine-daemon.default View File

@ -40,3 +40,4 @@ TABLE=0
# HOMER_PROTOCOL=udp
# HOMER_ID=2001
# RECORDING_DIR=/var/spool/rtpengine/
# LOG_STDERR="no"

+ 5
- 0
debian/ngcp-rtpengine-daemon.init View File

@ -55,6 +55,7 @@ if [ ! -z "$SUBSCRIBE_KEYSPACES" ]; then
OPTIONS="$OPTIONS --subscribe-keyspace=$ks"
done
fi
[ -z "$ADDRESS" ] || OPTIONS="$OPTIONS --interface=$ADDRESS"
[ -z "$ADV_ADDRESS" ] || OPTIONS="$OPTIONS!$ADV_ADDRESS"
[ -z "$ADDRESS_IPV6" ] || OPTIONS="$OPTIONS --interface=$ADDRESS_IPV6"
@ -99,6 +100,10 @@ if test "$FORK" = "no" ; then
OPTIONS="$OPTIONS --foreground"
fi
if test "$LOG_STDERR" = "yes" ; then
OPTIONS="$OPTIONS --log-stderr"
fi
if [ -x /usr/sbin/ngcp-virt-identify ]; then
if /usr/sbin/ngcp-virt-identify --type container; then
VIRT="yes"


Loading…
Cancel
Save