File: ldpd-service

package info (click to toggle)
frr 7.5.1-1.1%2Bdeb11u2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 30,144 kB
  • sloc: ansic: 476,364; sh: 6,038; python: 2,630; cpp: 1,127; makefile: 697; perl: 606; yacc: 368; lex: 337; lisp: 62
file content (14 lines) | stat: -rw-r--r-- 305 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e -x

if ! [ -e $SNAP_DATA/ldpd.conf ]; then
    cp $SNAP/etc/frr/ldpd.conf.default $SNAP_DATA/ldpd.conf
fi
exec $SNAP/sbin/ldpd \
    -f $SNAP_DATA/ldpd.conf \
    --pid_file $SNAP_DATA/ldpd.pid \
    --socket $SNAP_DATA/zsock \
    --ctl_socket $SNAP_DATA \
    --vty_socket $SNAP_DATA