/etc/init/exabgp.conf is in exabgp 3.4.13-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | description "BGP route injector"
start on runlevel [2345]
stop on runlevel [!2345]
console none
respawn
umask 022
reload signal USR1
env PATH=/sbin:/usr/sbin:/bin:/usr/bin
env USER=exabgp
env NAME=exabgp
env DAEMON=/usr/sbin/exabgp
env DAEMON_OPTS=/etc/exabgp/exabgp.conf
env CONFIG=/etc/exabgp/exabgp.conf
env PIDFILE=/var/run/exabgp/exabgp.pid
pre-start script
[ -f /etc/default/$NAME ] && . /etc/default/$NAME start
[ ! -x "$DAEMON" ] && { stop; exit 0; }
[ ! -f "$CONFIG" ] && { stop; exit 0; }
RUNDIR=$(dirname $PIDFILE)
mkdir -p $RUNDIR && chown $USER $RUNDIR
end script
script
[ -f /etc/default/$NAME ] && . /etc/default/$NAME
exabgp_daemon_daemonize=false
export exabgp_daemon_daemonize
exabgp_daemon_user=$USER
export exabgp_daemon_user
exabgp_daemon_pid=$PIDFILE
export exabgp_daemon_pid
$DAEMON --folder /etc/exabgp $DAEMON_OPTS
end script
|