File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,8 +2,14 @@ LOGFILE=/var/log/openbmpd.log
22
33MYHOSTNAME=$(uname -n)
44
5- OPENBMP_ADMIN_ID=${OPENBMP_ADMIN_ID:=$MYHOSTNAME}
6- OPENBMP_BUFFER=${OPENBMP_BUFFER:='16'}
7- OPENBMP_BROKER_LIST=${OPENBMP_BROKER_LIST:='localhost:9092'}
5+ CONFIG_FILE=/usr/etc/openbmp/openbmpd.conf
6+ PID_FILE=/var/run/openbmpd.pid
87
9- OPENBMPD_OPTS="-l $LOGFILE -a ${OPENBMP_ADMIN_ID} -k ${OPENBMP_BROKER_LIST} -p 5000 -b ${OPENBMP_BUFFER}"
8+ if [ -f /usr/local/etc/openbmp/openbmpd.conf ]; then
9+ CONFIG_FILE=/usr/local/etc/openbmp/openbmpd.conf
10+
11+ elif [ -f /etc/openbmp/openbmpd.conf ]; then
12+ CONFIG_FILE=/etc/openbmp/openbmpd.conf
13+ fi
14+
15+ OPENBMPD_OPTS="-l $LOGFILE -pid $PID_FILE -c $CONFIG_FILE"
Original file line number Diff line number Diff line change @@ -30,8 +30,11 @@ See [yaml-cpp](https://github.com/jbeder/yaml-cpp) for detailed instructions on
3030git clone https://github.com/jbeder/yaml-cpp.git
3131cd yaml-cpp
3232
33- # IF on CentOS6/RHEL6, use the following command to checkout release 0.5.3
34- #git checkout release-0.5.3
33+
34+ # git checkout yaml-cpp-0.6.2
35+
36+ # If on Centos6
37+ # git checkout yaml-cpp-0.5.3
3538
3639# IF on CentOS6/RHEL6 - you might run into an issue about date_time boost lib. This issue
3740# is specific to cmake on centos6/rhel6. If you run into this issue, you can
You can’t perform that action at this time.
0 commit comments