TT#137760 Remove RUN_RTPENGINE* variables

If the user wants to disable the sysvinit service they should use
update-rc.d disable instead.

Change-Id: Ibbd4ba374d310fea9fcd906d79ef224cbef15b74
pull/1373/head
Guillem Jover 4 years ago
parent 8ae52f8ccb
commit 51c71f0035

@ -1,4 +1,3 @@
RUN_RTPENGINE=no
CONFIG_FILE=/etc/rtpengine/rtpengine.conf
# CONFIG_SECTION=rtpengine
PIDFILE=/run/ngcp-rtpengine-daemon.pid

@ -25,10 +25,6 @@ if [ -f "$DEFAULTS" ]; then
. "$DEFAULTS" || true
fi
if [ "$RUN_RTPENGINE" != "yes" ]; then
log_action_msg "rtpengine not yet configured. Edit $DEFAULTS first."
exit 0
fi
[ -z "$PIDFILE" ] && PIDFILE="/run/rtpengine.pid"
OPTIONS=""

@ -1,4 +1,3 @@
RUN_RTPENGINE_RECORDING=no
CONFIG_FILE=/etc/rtpengine/rtpengine-recording.conf
# CONFIG_SECTION=rtpengine-recording
PIDFILE=/run/ngcp-rtpengine-recording-daemon.pid

@ -25,10 +25,6 @@ if [ -f "$DEFAULTS" ]; then
. "$DEFAULTS" || true
fi
if [ "$RUN_RTPENGINE_RECORDING" != "yes" ]; then
log_action_msg "rtpengine-recording not yet configured. Edit $DEFAULTS first."
exit 0
fi
[ -z "$PIDFILE" ] && PIDFILE="/run/rtpengine-recording.pid"
OPTIONS=""

Loading…
Cancel
Save