Browse Source

TT#51701 Switch from deprecated /var/run to /run

Change-Id: I5b42c63083e2ee0c1fbfb7dbf1762aa4ef8a0a99
changes/63/34563/1
Guillem Jover 6 years ago
parent
commit
7b77fb6383
7 changed files with 9 additions and 9 deletions
  1. +2
    -2
      el/rtpengine-recording.init
  2. +1
    -1
      el/rtpengine-recording.service
  3. +1
    -1
      el/rtpengine-recording.sysconfig
  4. +2
    -2
      el/rtpengine.init
  5. +1
    -1
      el/rtpengine.service
  6. +1
    -1
      el/rtpengine.sysconfig
  7. +1
    -1
      etc/rtpengine-recording.sample.conf

+ 2
- 2
el/rtpengine-recording.init View File

@ -7,7 +7,7 @@
#
# processname: rtpengine-recording
# config: /etc/sysconfig/rtpengine-recording
# pidfile: /var/run/rtpengine-recording.pid
# pidfile: /run/rtpengine-recording.pid
#
### BEGIN INIT INFO
# Provides: rtpengine
@ -29,7 +29,7 @@ fi
prog=rtpengine-recording
runfile=/usr/sbin/${prog}
pidfile=${PIDFILE-/var/run/rtpengine-recording.pid}
pidfile=${PIDFILE-/run/rtpengine-recording.pid}
lockfile=${LOCKFILE-/var/lock/subsys/rtpengine-recording}
RETVAL=0


+ 1
- 1
el/rtpengine-recording.service View File

@ -9,7 +9,7 @@ User=ngcp-rtpengine
Group=daemon
Environment=CFGFILE=/etc/rtpengine/rtpengine-recording.conf
EnvironmentFile=/etc/sysconfig/rtpengine-recording
PIDFile=/var/run/rtpengine-recording.pid
PIDFile=/run/rtpengine-recording.pid
ExecStart=/usr/sbin/rtpengine-recording --config-file=${CFGFILE} --pidfile=$PIDFILE
Restart=on-failure


+ 1
- 1
el/rtpengine-recording.sysconfig View File

@ -2,7 +2,7 @@
# http://github.com/sipwise/rtpengine
#
CONFIG_FILE=/etc/rtpengine/rtpengine-recording.conf
PIDFILE=/var/run/rtpengine-recording.pid
PIDFILE=/run/rtpengine-recording.pid
#SET_USER=root
#SET_GROUP=root # GROUP only needs to be set if USER is not set or if the user isn't in the group

+ 2
- 2
el/rtpengine.init View File

@ -7,7 +7,7 @@
#
# processname: rtpengine
# config: /etc/sysconfig/rtpengine
# pidfile: /var/run/rtpengine.pid
# pidfile: /run/rtpengine.pid
#
### BEGIN INIT INFO
# Provides: rtpengine
@ -32,7 +32,7 @@ fi
rtpengine=/usr/sbin/rtpengine
prog=rtpengine
pidfile=${PIDFILE-/var/run/rtpengine.pid}
pidfile=${PIDFILE-/run/rtpengine.pid}
lockfile=${LOCKFILE-/var/lock/subsys/rtpengine}
configfile=${CONFIG_FILE-/etc/rtpengine/rtpengine.conf}
cachefile=/var/lib/ngcp-rtpengine/rtpengine.cfg


+ 1
- 1
el/rtpengine.service View File

@ -9,7 +9,7 @@ User=ngcp-rtpengine
Group=daemon
Environment=CFGFILE=/etc/rtpengine/rtpengine.conf
EnvironmentFile=/etc/sysconfig/rtpengine
PIDFile=/var/run/rtpengine.pid
PIDFile=/run/rtpengine.pid
ExecStart=/usr/sbin/rtpengine --config-file=${CFGFILE} --interface=${INTERFACE} --listen-ng=${LISTEN_UDP} --log-facility=${LOG_FACILITY} --log-level=${LOG_LEVEL}
Restart=on-failure


+ 1
- 1
el/rtpengine.sysconfig View File

@ -3,7 +3,7 @@
# main config file
CONFIG_FILE=/etc/rtpengine/rtpengine.conf
# pid
#PIDFILE=/var/run/ngcp-rtpengine-daemon.pid
#PIDFILE=/run/ngcp-rtpengine-daemon.pid
# iptables table for in-kernel forwarding rules. Ignored if "KERNEL=no"
#TABLE=0
# "yes" enables fallback to userspace forwarding only.


+ 1
- 1
etc/rtpengine-recording.sample.conf View File

@ -6,7 +6,7 @@ table = 0
# num-threads = 16
### where to forward to (unix socket)
# forward-to = /var/run/rtpengine/sock
# forward-to = /run/rtpengine/sock
### where to store recordings: file (default), db, both
# output-storage = db


Loading…
Cancel
Save