summaryrefslogtreecommitdiffstats
path: root/snapcraft/scripts/ripngd-service
blob: bd06e6bae5eeb3023fd604e668dff3e42f322500 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e -x

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